#include <CNCL/Normal.h>
CN_NORMAL
CNRandom
CNRayleigh, CNRice
CNRNG
CNNormal
is a class for generating normal (Gaussian) distributed
random numbers.
Constructors:
CNNormal();
CNNormal(CNParam *param);
CNNormal(double mean, double variance, CNRNG *gen);
CNNormal
distribution with a base random number
generator gen
, mean value mean
and variance
variance
.
In addition to the member functions required by CNCL, CNNormal
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.