2014-12-23 14:21:44 +01:00

16 lines
370 B
JavaScript

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']
};