#include <MUniform.h>
Inheritance diagram for MUniform::

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 RNG * | generator () |
| Returns the rng used by this instance. | |
| virtual void | generator (RNG *p) |
| Set the rng used by this instance. | |
| DoubleVector & | operator() () |
| 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. | |
A class that generates multivariate uniform deviates with given means and ranges.