UNPKG

enhancedmath

Version:

This package contains some enhanced mathematical operations

8 lines (7 loc) 260 B
/** * Calculates the probability of a permutation with a population of n and a sample size r * @param n The total population * @param r The sample size */ declare const permutation: (n: number, r: number) => bigint | undefined; export default permutation;