simple-squiggle/node_modules/mathjs/lib/esm/expression/embeddedDocs/function/probability/gamma.js

8 lines
335 B
JavaScript
Raw Normal View History

export var gammaDocs = {
name: 'gamma',
category: 'Probability',
syntax: ['gamma(n)'],
description: 'Compute the gamma function. For small values, the Lanczos approximation is used, and for large values the extended Stirling approximation.',
examples: ['gamma(4)', '3!', 'gamma(1/2)', 'sqrt(pi)'],
seealso: ['factorial']
};