UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

8 lines 335 B
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'] };