csnip
0.1
|
Abstract base type for random number generation. More...
Classes | |
struct | csnip_rng_T |
Method table for a random number generator. More... | |
Typedefs | |
typedef struct csnip_rng_T | csnip_rng |
Functions | |
unsigned long int | csnip_rng_getnum (const csnip_rng *R) |
Retrieve a number from the RNG. More... | |
void | csnip_rng_seed (const csnip_rng *R, int nseed, const unsigned long *seed) |
Seed the RNG. More... | |
|
inline |
Shorthand for R->getnum(R).
|
inline |
Given seeding memory, seed the RNG.