CRandVar Class Reference

Abstract class for continuous random distributions. More...

#include <CRandVar.h>

Inheritance diagram for CRandVar::

Exponential externCRandVar Triangular Uniform Cauchy Normal List of all members.

Public Methods

 CRandVar (RNG *generator)
 Constructor, which can be initialized with a rng.

virtual double operator() ()=0
 Operator which generates a random value.

RNGgenerator ()
 Returns the rng used by this instance.

void generator (RNG *p)
 Set the rng used by this instance.


Protected Attributes

RNGpGenerator
 The rng used by this instance.


Detailed Description

Abstract class for continuous random distributions.

Adapted from GNU code by Dirk Grunwald.


The documentation for this class was generated from the following file: