@03matteo/combinatorics
v3.0.1
Published
Gives back the result of the type of combinatoric given.
Downloads
7
Maintainers
Readme
What is this?
Gives back the result of the type of combinatorics given.
Installation
npm i @03matteo/combinatorics
Then...
const {
Disposition,
Permutation,
Combination,
getFactorial
} = require('@03matteo/combinatorics');
const disp = new Disposition(n, k).reps(<true|false>)
const perm = new Permutation(n, [h1, h2, h3, ...]).reps(<true|false>)
const comb = new Combination(n, k).reps(<true|false>)
const fact = getFactorial(number)