#include <rnga.h>
gsl_rng_uniform_pos()
, i.e. as used in the GSL Monte Carlo classes.Definition at line 54 of file rnga.h.
Public Member Functions | |
void | clock_seed () |
Initialize the seed with a value taken from the computer clock. | |
unsigned long int | get_seed () |
Get the seed. | |
void | set_seed (unsigned long int s) |
Set the seed. | |
Protected Member Functions | |
rnga (const rnga &) | |
rnga & | operator= (const rnga &) |
Protected Attributes | |
unsigned long int | seed |
The seed. |
void clock_seed | ( | ) |
This is a naive seed generator which uses seed=time(0)
to generate a seed.
Reimplemented in gsl_rnga.
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page