UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

12 lines 463 B
module.exports = { 'name': 'multinomial', 'category': 'Probability', 'syntax': [ 'multinomial(A)' ], 'description': 'Multinomial Coefficients compute the number of ways of picking a1, a2, ..., ai unordered outcomes from `n` possibilities. multinomial takes one array of integers as an argument. The following condition must be enforced: every ai <= 0.', 'examples': [ 'multinomial([1, 2, 1])' ], 'seealso': ['combinations', 'factorial'] };