#include <CNCL/HyperExp.h>
CN_HYPEREXP
CNRandom
None
CNRNG
CNHyperExp
is a class for generating hyperexponential distributed
random numbers. CNHyperExp
is a mixed distribution of two negative
exponential distributions (H2).
Constructors:
CNHyperExp();
CNHyperExp(CNParam *param);
CNHyperExp(double p, double m1, double m2, CNRNG *gen);
CNHyperExp
distribution with a base random number
generator gen
, the mixprobability p
and the intensity
parameters m1
and m2
.
In addition to the member functions required by CNCL, CNHyperExp
provides:
virtual double operator() ();
Go to the first, previous, next, last section, table of contents.