Class implements interface for uniform number generators. More...
#include <uniformRNG.hpp>
Public Member Functions | |
virtual double | getRandom ()=0 |
generate one random variable from uniform distribution. More... | |
virtual std::vector< double > | getRandoms (int n)=0 |
generate n random variables from uniform distribution. More... | |
virtual void | setSeed (unsigned int)=0 |
sets seed of RNG More... | |
virtual UniformRNG * | clone () const |
Virtual copy constructor. More... | |
virtual | ~UniformRNG () |
destructor More... | |
Detailed Description
Class implements interface for uniform number generators.
Uniform RNG generates random number from continuous uniform distribution. PDF of continuous uniform distribution is for and otherwise.
Constructor & Destructor Documentation
|
inlinevirtual |
destructor
Member Function Documentation
|
virtual |
Virtual copy constructor.
Method is an implementation of virtual copy constructor.
Reimplemented in julian::Tausworthe, julian::RANLUX, and julian::MersenneTwister.
|
pure virtual |
generate one random variable from uniform distribution.
Implemented in julian::Tausworthe, julian::RANLUX, and julian::MersenneTwister.
|
pure virtual |
generate n random variables from uniform distribution.
Implemented in julian::Tausworthe, julian::RANLUX, and julian::MersenneTwister.
|
pure virtual |
sets seed of RNG
Implemented in julian::Tausworthe, julian::RANLUX, and julian::MersenneTwister.
The documentation for this class was generated from the following file:
- C:/Unix/home/OEM/jULIAN/src/mathematics/RNGs/uniformRNG.hpp