1 #ifndef _utl_BinomialCache_h_
2 #define _utl_BinomialCache_h_
5 #include <utl/Singleton.h>
double operator()(const int n, const int k)
double & GetUnchecked(const int n, const int k)
std::vector< double > fCoefficients
BinomialCoefficients(const int initialN=3)
void Generate(const int n)
Calculates binomial coefficients and caches the results.
Curiously Recurring Template Pattern (CRTP) for Meyers singleton.