Class constructor with or without specified type of random number generator. Default args reads environment variable GSL_RNG_TYPE and GSL_RNG_SEED to initialize. If these are not set the generator gsl_rng_mt19937 will be used with seed 0. For example to choose gsl_rng_taus with seed = 100 use random generator(gsl_rng_taus,100). A list of options can be found in the GSL manual at http://www.gnu.org/software/gsl/manual/html_node/Random-number-generator-algorithms.html |