29 #ifndef SCIMATH_COMBINATORICS_H
30 #define SCIMATH_COMBINATORICS_H
static std::mutex theirMutex
Combinatorics related functions.
static uInt choose(const uInt n, const uInt k)
"n choose k" = n!/(k!(n-k)!) Exception is thrown if k > n.
static void fillCache(const uInt n)
static uInt factorial(const uInt n)
Get n!
static volatile uInt _factorialCacheSize
static Vector< uInt > _factorialCache