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