simple-squiggle

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

factorial.js (431B)


      1 "use strict";
      2 
      3 Object.defineProperty(exports, "__esModule", {
      4   value: true
      5 });
      6 exports.factorialDocs = void 0;
      7 var factorialDocs = {
      8   name: 'factorial',
      9   category: 'Probability',
     10   syntax: ['n!', 'factorial(n)'],
     11   description: 'Compute the factorial of a value',
     12   examples: ['5!', '5 * 4 * 3 * 2 * 1', '3!'],
     13   seealso: ['combinations', 'combinationsWithRep', 'permutations', 'gamma']
     14 };
     15 exports.factorialDocs = factorialDocs;