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


CNMDeterm -- Random Mix of Deterministic Values

SYNOPSIS

#include <CNCL/MDeterm.h>

TYPE

CN_MDETERM

BASE CLASSES

CNRandom

DERIVED CLASSES

None

RELATED CLASSES

CNRNG

DESCRIPTION

CNMDeterm is a class for generating a random mix of two deterministic values.

Constructors:

CNMDeterm();
CNMDeterm(CNParam *param);
CNMDeterm(double m, double d1, double d2, CNRNG *gen);
Initializes a CNMDeterm distribution with a base random number generator gen, a mixing parameter m and two values d1 and d2.

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

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


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