Next: , Previous: Auxiliary quasi-random number generator functions, Up: Quasi-Random Sequences   [Index]


19.4 Saving and restoring 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 q.