Function ADS::binomial

Function Documentation

inline std::uint64_t ADS::binomial(int n, int k, long *calls = nullptr)

C( n , k ) by the recursion, the calls added to *calls, if given.

Pre:

0 <= k <= n <= 67