| GNU Scientific Library Reference Manual - Third Edition (v1.12) by M. Galassi, J. Davies, J. Theiler, B. Gough, G. Jungman, P. Alken, M. Booth, F. Rossi Paperback (6"x9"), 592 pages, 60 figures ISBN 0954612078 RRP £24.95 ($39.95) |
18.3 Auxiliary quasi-random number generator functions
- Function: const char * gsl_qrng_name (const gsl_qrng * q)
- This function returns a pointer to the name of the generator.
- Function: size_t gsl_qrng_size (const gsl_qrng * q)
- Function: void * gsl_qrng_state (const gsl_qrng * q)
- These functions return a pointer to the state of generator r and
its size. You can use this information to access the state directly. For
example, the following code will write the state of a generator to a
stream,
void * state = gsl_qrng_state (q); size_t n = gsl_qrng_size (q); fwrite (state, n, 1, stream);
| ISBN 0954612078 | GNU Scientific Library Reference Manual - Third Edition (v1.12) | See the print edition |