csnip
0.1
|
Method table for a random number generator. More...
#include <rng.h>
Public Attributes | |
unsigned long | minval |
Minimum value returned by RNG, inclusive. | |
unsigned long | maxval |
Maximum value returned by RNG, inclusive. | |
void * | state |
The random number generator state. More... | |
void(* | seed )(const struct csnip_rng_T *rng, int nseed, const unsigned long *seed) |
Seed the RNG with the given seed memory. | |
unsigned long int(* | getnum )(const struct csnip_rng_T *rng) |
Retrieve the next random number and update state. | |
void* csnip_rng_T::state |
Size and content dependent on the RNG in use.