Gives back the result of the type of combinatoric given.
npm install @03matteo/combinatoricsGives back the result of the type of combinatorics given.
npm i @03matteo/combinatorics
Then...
``
const {
Disposition,
Permutation,
Combination,
getFactorial
} = require('@03matteo/combinatorics');
const disp = new Disposition(n, k).reps(
const perm = new Permutation(n, [h1, h2, h3, ...]).reps(
const comb = new Combination(n, k).reps(
const fact = getFactorial(number)
``