logFactorial(
n):number
Defined in: packages/combinatorics/src/factorial.ts:53
Take the natural logarithm of n! for any non-negative safe integer n.
O(1) time, using a once-built table of exact log-factorials up to 170 and a Stirling expansion thereafter.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”number
Throws
Section titled “Throws”With INVALID_COUNT for an invalid count.