#include <phrand.h>
Inheritance diagram for simth::RandomGeneratorGsl:
Public Member Functions | |
RandomGeneratorGsl (const gsl_rng_type &generatorAlgorithm=*gsl_rng_taus) | |
virtual | ~RandomGeneratorGsl () |
Protected Member Functions | |
const gsl_rng * | rng () const |
Any of these are seeded by subsequent calls of the system's random number generator rand(), which in turn can be seeded by the user through srand().
|
Constructor that takes as argument the type of the used algortihm to generate the random variables. Default argument is gsl_rng_taus that produces a 'maximally equidistributed combined Tausworthe generator by L'Ecuyer'. (See GSL reference manual for further information). |
|
Destructor. |
|
Returns a handle to the gsl (gnu scientific library) random generator. |