combinationLn function

double combinationLn(
  1. num n,
  2. num k
)

Returns the logarithm of the combinations based on the gammaLn function.

Implementation

double combinationLn(num n, num k) =>
    factorialLn(n) - factorialLn(k) - factorialLn(n - k);