simple-squiggle

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

gamma.js (467B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.gammaDocs = void 0;
      7 var gammaDocs = {
      8   name: 'gamma',
      9   category: 'Probability',
     10   syntax: ['gamma(n)'],
     11   description: 'Compute the gamma function. For small values, the Lanczos approximation is used, and for large values the extended Stirling approximation.',
     12   examples: ['gamma(4)', '3!', 'gamma(1/2)', 'sqrt(pi)'],
     13   seealso: ['factorial']
     14 };
     15 exports.gammaDocs = gammaDocs;