superexacttestpy.tl.log_choose
- superexacttestpy.tl.log_choose(n, k)
Approximation of log-binomial coefficient nCk
- Parameters:
- Returns:
res – How many ways there are to choose k things out of a larger set of n things
- Return type:
Example
>>> log_choose(10,3) ... 4.787491742782046