uint32_t mars_kiss64_seed_t[4]
static mars_kiss64_seed_t seed
YUCK copy and pasted RNG to allow inlining and also to avoid horrific executable bloat.
accum rng_exponential(rng_t *rng)
Generate an exponentially-distributed random number.
accum rng_normal(rng_t *rng)
Generate an normally-distributed random number.
rng_t * core_rng
An RNG that is local to the current core.
void rng_free(rng_t *rng)
Finish with a random number generator.
rng_t * population_rng
An RNG that starts in the same place on every core of the Population.
uint32_t rng_generator(rng_t *rng)
Generate a uniformly-distributed random number.
rng_t * rng_init(void **region)
Initialise the random number generator.
The Random number generator parameters.
region
spike source array region IDs in human readable form
static uint32_t rng(void)
Random number generation for the Poisson sources. This is a local version for speed of operation.