11#include <util/containers/GArray.h>
12#include <util/math/Rational.h>
13#include <util/containers/Array.h>
39 static void setup(
int nMax);
56 static int coeff(
int n,
int m);
Class for binomial coefficients (all static members)
static void setup(int nMax)
Precompute all combinations C(n, m) up to n = nMax.
static int coeff(int n, int m)
Return coefficient "n choose m", or C(n, m) = n!/(m!(n-m)!).
static void clear()
Release all static memory.
An automatically growable array, analogous to a std::vector.
File containing preprocessor macros for error handling.
Utility classes for scientific computation.