simple-squiggle

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

factorial.js (287B)


      1 export var factorialDocs = {
      2   name: 'factorial',
      3   category: 'Probability',
      4   syntax: ['n!', 'factorial(n)'],
      5   description: 'Compute the factorial of a value',
      6   examples: ['5!', '5 * 4 * 3 * 2 * 1', '3!'],
      7   seealso: ['combinations', 'combinationsWithRep', 'permutations', 'gamma']
      8 };