UNPKG

mathjs

Version:

Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser and offers an integrated solution to work with numbers, big numbers, complex numbers, units, and matrices.

15 lines (14 loc) 340 B
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, 4)' ], 'seealso': ['combinations', 'factorial'] };