mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
15 lines
340 B
JavaScript
15 lines
340 B
JavaScript
module.exports = {
|
|
'name': 'permutations',
|
|
'category': 'Probability',
|
|
'syntax': [
|
|
'permutations(n)',
|
|
'permutations(n, k)'
|
|
],
|
|
'description': 'Compute the number of permutations of n items taken k at a time',
|
|
'examples': [
|
|
'permutations(5)',
|
|
'permutations(5, 3)'
|
|
],
|
|
'seealso': ['combinations', 'factorial']
|
|
};
|