2014-01-06 10:43:31 +01:00

15 lines
340 B
JavaScript

module.exports = {
'name': 'permutations',
'category': 'Probability',
'syntax': [
'permutations(x)',
'permutations(x, k)'
],
'description': 'Compute the number of permutations of x items taken k at a time',
'examples': [
'permutations(5)',
'permutations(5, 4)'
],
'seealso': ['combinations', 'factorial']
};