gamma.js 335 B

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