mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
506 B
506 B
Function combinations
Compute the number of combinations of n items taken k at a time
combinations(n, k)
combinations only takes integer arguments the following condition must be enforced: k <= n
Parameters
| Parameter | Type | Description |
|---|
Returns
| Type | Description |
|---|---|
| Number | BigNumber | combinations |