Saving and resorting quasi-random number generator state - GNU Scientific Library -- Reference Manual
Description: GNU Scientific Library -- Reference Manual

Next: Quasi-random number generator algorithms, Previous: Auxiliary quasi-random number generator functions, Up: Quasi-Random Sequences

### 19.4 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 q.

The GNU Scientific Library - a free numerical library licensed under the GNU GPL
Back to the GNU Scientific Library Homepage