2014-05-15 21:43:08 +02:00

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']
};