Go to the previous, next section.
#include <CNCL/Uniform.h>
CN_UNIFORM
CNRandom
None
CNRNG
CNUniform generates uniform distributed random numbers within the
interval limits low and high.
Constructors:
CNUniform();
CNUniform(CNParam *param);
CNUniform(double low, double high, CNRNG *gen);
CNUniform distribution with a base random number
generator gen and interval limits low and high.
In addition to the member functions required by CNCL, CNUniform
provides:
double low();
double low(double x);
double high();
double high(double x);
virtual double operator() ();
Go to the previous, next section.