CRandVec Class Reference

Abstract class for multivariate continuous random distributions. More...

#include <CRandVec.h>

Inheritance diagram for CRandVec::

MNormal MUniform List of all members.

Public Methods

 CRandVec (RNG *generator=NULL)
 Constructor, which can be initialized with a rng.

virtual ~CRandVec ()
 Dummy destructor.

virtual DoubleVectoroperator() ()
 Operator that generates a vector of random values.

virtual void operator() (DoubleVector &vec)=0
 Method that returns a vector of random variables in the vec argument.

virtual RNGgenerator ()
 Returns the rng used by this instance.

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


Protected Attributes

RNGpGenerator
 The rng used by this instance.

DoubleVector results
 The vector of values that is returned by the operator() method.


Detailed Description

Abstract class for multivariate continuous random distributions.

Adapted from GNU code by Dirk Grunwald.


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