simple-squiggle/node_modules/mathjs/lib/cjs/expression/embeddedDocs/function/probability/factorial.js

15 lines
431 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.factorialDocs = void 0;
var 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']
};
exports.factorialDocs = factorialDocs;