simple-squiggle

A restricted subset of Squiggle
Log | Files | Refs | README

gamma.js (335B)


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