mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
16 lines
370 B
JavaScript
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']
|
|
};
|