MUniform Class Reference

MUniform. More...

#include <MUniform.h>

Inheritance diagram for MUniform::

CRandVec List of all members.

Public Methods

 MUniform ()
 Empty constructor.

 MUniform (RNG *gen, DoubleVector &mean, DoubleVector &range_vec_)
 Constructor with means and a vector of ranges.

 MUniform (RNG *gen, DoubleVector &mean, double range_const_)
 Constructor with means and a constant vector of ranges.

virtual ~MUniform ()
 Dummy virtual destructor.

int set (DoubleVector &mean, DoubleVector &range_vec_)
 Set the means and vector of ranges.

int set (DoubleVector &mean, double range_const_)
 Set the means and constant vector of ranges.

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

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

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

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


Protected Attributes

Uniform unif_dev
 A Uniform r.v. used by this class.

DoubleVector mean
 The vector of means.

DoubleVector range_vec
 The vector of ranges.

double range_const
 The constant vector of ranges.


Detailed Description

MUniform.

A class that generates multivariate uniform deviates with given means and ranges.


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