combination function

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

Returns the combinations based on the gamma function.

Implementation

double combination(num n, num k) =>
    factorial(n) / factorial(k) / factorial(n - k);