Basic Image AlgorithmS Library
2.8.0
|
Efficient computation of the binomial coefficient. More...
#include <Base/Math/BinomialCoefficient.hh>
Static Public Member Functions | |
static long long unsigned | Compute (const unsigned n, const unsigned k) |
Computation of the binomial coefficient "n over k" The function throws an exception when overflow occurs. More... | |
Efficient computation of the binomial coefficient.
Definition at line 31 of file BinomialCoefficient.hh.
|
static |
Computation of the binomial coefficient "n over k" The function throws an exception when overflow occurs.
Definition at line 12 of file BinomialCoefficient.cpp.
Referenced by BIAS::COSAC< SolutionType >::SolveMaster().