Go to the first, previous, next, last section, table of contents.

Quasi-random number generator initialization

Function: gsl_qrng * gsl_qrng_alloc (const gsl_qrng_type * T, unsigned int d)
This function returns a pointer to a newly-created instance of a quasi-random sequence generator of type T and dimension d. If there is insufficient memory to create the generator then the function returns a null pointer and the error handler is invoked with an error code of GSL_ENOMEM.

Function: void gsl_qrng_free (gsl_qrng * q)
This function frees all the memory associated with the generator q.

Function: void gsl_qrng_init (const gsl_qrng * q)
This function reinitializes the generator q to its starting point.


Go to the first, previous, next, last section, table of contents.