#include <CNCL/Rayleigh.h>
CN_RAYLEIGH
CNNormal
None
CNRNG
CNRayleigh
is a class for generating Rayleigh distributed random
numbers.
Constructors:
CNRayleigh();
CNRayleigh(CNParam *param);
CNRayleigh(double variance, CNRNG *gen);
CNRayleigh
distribution with a base random number
generator gen
and variance variance
.
The variance is the one passed to the CNNormal
base class, not the
actual value of the Rayleigh distribution.
In addition to the member functions required by CNCL, CNRayleigh
provides:
virtual double operator() ();
Go to the first, previous, next, last section, table of contents.