27#ifndef SCIMATH_COMBINATORICS_H 
   28#define SCIMATH_COMBINATORICS_H 
   32#include <casacore/casa/aips.h> 
   33#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