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