#include <phrand.h>
Inheritance diagram for simth::UniformRng:
Public Member Functions | |
UniformRng () | |
virtual | ~UniformRng () |
virtual double | get () const |
double | get_inl () const |
This function returns a double precision floating point number uniformly distributed in the range [0,1). The range includes 0.0 but excludes 1.0. Beside the virtual function get() the function get_inl() returns a random variate as well but is implemented as inline fucntion and hence faster.
The 'maximally equidistributed combined Tausworthe generator by L'Ecuyer' is used to generator the random output. (See GSL reference manual for further information).
|
|
|
|
|
Returns a random variate with the described uniform distribution in the range of [0,1). Implements simth::RandomGenerator. |
|
Non-virtual inline version of get(). |