UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif

16 lines (15 loc) 317 B
export const factorialDocs = { name: 'factorial', category: 'Probability', syntax: [ 'n!', 'factorial(n)' ], description: 'Compute the factorial of a value', examples: [ '5!', '5 * 4 * 3 * 2 * 1', '3!' ], seealso: ['combinations', 'combinationsWithRep', 'permutations', 'gamma'] }