UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

16 lines (15 loc) 370 B
module.exports = { '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'] };