Expand description
Provides functions related to factorial calculations (e.g. binomial coefficient, factorial, multinomial)
Constants
- The maximum factorial representable by a 64-bit floating point without overflowing
Functions
- Computes the binomial coefficient
n choose k
wherek
andn
are non-negative values. - Computes the multinomial coefficient:
n choose n1, n2, n3, ...
- Computes the factorial function
x -> x!
for170 >= x >= 0
. All factorials larger than170!
will overflow anf64
. - Computes the natural logarithm of the binomial coefficient
ln(n choose k)
wherek
andn
are non-negative values - Computes the logarithmic factorial function
x -> ln(x!)
forx >= 0
. - Computes the multinomial coefficient:
n choose n1, n2, n3, ...