#include <phrand.h>
Public Member Functions | |
GslRandomWrapper (const gsl_rng_type &generatorAlgorithm=*gsl_rng_taus) | |
virtual | ~GslRandomWrapper () |
const gsl_rng * | rng () const |
The function gsl_rndGenerator() returns a pointer to a GSL random generator (gsl_rng* ) that can be used to call functions from the GSL. It is 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. |