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

Saving and resorting quasi-random number generator state

Function: int gsl_qrng_memcpy (gsl_qrng * dest, const gsl_qrng * src)
This function copies the quasi-random sequence generator src into the pre-existing generator dest, making dest into an exact copy of src. The two generators must be of the same type.

Function: gsl_qrng * gsl_qrng_clone (const gsl_qrng * q)
This function returns a pointer to a newly created generator which is an exact copy of the generator r.


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