mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
26 lines
526 B
Markdown
26 lines
526 B
Markdown
# 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
|
|
|
|
|
|
|
|
|
|
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
|