@skybloxsystems/ticket-bot
Version:
41 lines (24 loc) • 888 B
Markdown
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
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
```js
math.multinomial(a) // a is an array type
```
Parameter | Type | Description
--------- | ---- | -----------
`a` | number[] &
Type | Description
---- | -----------
Number &
```js
math.multinomial([1,2,1]) // returns 12
```
[](combinations.md),
[](factorial.md)