29 #ifndef SCIMATH_COMBINATORICS_H
30 #define SCIMATH_COMBINATORICS_H
34 #include <casacore/casa/aips.h>
35 #include <casacore/casa/Arrays/Vector.h>
static uInt factorial(const uInt n)
Get n!
static uInt choose(const uInt n, const uInt k)
"n choose k" = n!/(k!(n-k)!) Exception is thrown if k > n.
static Vector< uInt > _factorialCache
static void fillCache(const uInt n)
static volatile uInt _factorialCacheSize
static std::mutex theirMutex
this file contains all the compiler specific defines