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

10 lines (9 loc) 461 B
"use strict"; 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'] };