Go to the first, previous, next, last section, table of contents.


CNRice -- Rice Distribution

SYNOPSIS

#include <CNCL/Rice.h>

TYPE

CN_RICE

BASE CLASSES

CNNormal

DERIVED CLASSES

None

RELATED CLASSES

CNRNG

DESCRIPTION

CNRice is a class for generating Rice distributed random numbers.

Constructors:

CNRice();
CNRice(CNParam *param);
CNRice(double mean, double variance, CNRNG *gen);
Initializes a CNRice distribution with a base random number generator gen, mean value mean and variance variance. The mean value and variance are those passed to the CNNormal base class, not the actual values of the Rice distribution.

In addition to the member functions required by CNCL, CNRice provides:

virtual double operator() ();
Draws a Rice distributed random number.


Go to the first, previous, next, last section, table of contents.