#include <CNCL/HyperGeom.h>
CN_HYPERGEOM
CNRandom
None
CNRNG
CNHyperGeom is a class for generating hypergeometrical distributed
random numbers.
Constructors:
CNHyperGeom();
CNHyperGeom(CNParam *param);
CNHyperGeom(double mean, double variance, CNRNG *gen);
CNHyperGeom distribution with a base random number
generator gen, mean value mean and variance
variance.
In addition to the member functions required by CNCL, CNHyperGeom
provides:
double mean();
double mean(double x);
double variance();
double variance(double x);
virtual double operator() ();
Go to the first, previous, next, last section, table of contents.