vSMC
vSMC: Scalable Monte Carlo
|
Random number generating using Random123 Threefry RNG. More...
Classes | |
struct | vsmc_threefry2x32 |
Threefry2x32 RNG state structure. More... | |
struct | vsmc_threefry2x32_ctr_t |
Threefry2x32 counter type. More... | |
struct | vsmc_threefry2x32_key_t |
Threefry2x32 key type. More... | |
struct | vsmc_threefry2x64 |
Threefry2x64 RNG state structure. More... | |
struct | vsmc_threefry2x64_ctr_t |
Threefry2x64 counter type. More... | |
struct | vsmc_threefry2x64_key_t |
Threefry2x64 key type. More... | |
struct | vsmc_threefry4x32 |
Threefry4x32 RNG state structure. More... | |
struct | vsmc_threefry4x32_ctr_t |
Threefry4x32 counter type. More... | |
struct | vsmc_threefry4x32_key_t |
Threefry4x32 key type. More... | |
struct | vsmc_threefry4x64 |
Threefry4x64 RNG state structure. More... | |
struct | vsmc_threefry4x64_ctr_t |
Threefry4x64 counter type. More... | |
struct | vsmc_threefry4x64_key_t |
Threefry4x64 key type. More... | |
Functions | |
static void | vsmc_threefry2x32_gen (const vsmc_threefry2x32_ctr_t *ctr, const vsmc_threefry2x32_key_t *key, vsmc_threefry2x32_ctr_t *state) |
Generate Threefry2x32 RNG state. More... | |
static void | vsmc_threefry2x32_init (vsmc_threefry2x32 *rng, uint32_t seed) |
Initialize Threefry2x32 RNG state. More... | |
static uint32_t | vsmc_threefry2x32_rand (vsmc_threefry2x32 *rng) |
Generate random 32-bits integers from Threefry2x32 RNG. More... | |
static void | vsmc_threefry2x64_gen (const vsmc_threefry2x64_ctr_t *ctr, const vsmc_threefry2x64_key_t *key, vsmc_threefry2x64_ctr_t *state) |
Generate Threefry2x64 RNG state. More... | |
static void | vsmc_threefry2x64_init (vsmc_threefry2x64 *rng, uint64_t seed) |
Initialize Threefry2x64 RNG state. More... | |
static uint64_t | vsmc_threefry2x64_rand (vsmc_threefry2x64 *rng) |
Generate random 64-bits integers from Threefry2x64 RNG. More... | |
static void | vsmc_threefry4x32_gen (const vsmc_threefry4x32_ctr_t *ctr, const vsmc_threefry4x32_key_t *key, vsmc_threefry4x32_ctr_t *state) |
Generate Threefry4x32 RNG state. More... | |
static void | vsmc_threefry4x32_init (vsmc_threefry4x32 *rng, uint32_t seed) |
Initialize Threefry4x32 RNG state. More... | |
static uint32_t | vsmc_threefry4x32_rand (vsmc_threefry4x32 *rng) |
Generate random 32-bits integers from Threefry4x32 RNG. More... | |
static void | vsmc_threefry4x64_gen (const vsmc_threefry4x64_ctr_t *ctr, const vsmc_threefry4x64_key_t *key, vsmc_threefry4x64_ctr_t *state) |
Generate Threefry4x64 RNG state. More... | |
static void | vsmc_threefry4x64_init (vsmc_threefry4x64 *rng, uint64_t seed) |
Initialize Threefry4x64 RNG state. More... | |
static uint64_t | vsmc_threefry4x64_rand (vsmc_threefry4x64 *rng) |
Generate random 64-bits integers from Threefry4x64 RNG. More... | |
Random number generating using Random123 Threefry RNG.
|
inlinestatic |
Generate Threefry2x32 RNG state.
Definition at line 309 of file threefry.h.
|
inlinestatic |
Initialize Threefry2x32 RNG state.
Definition at line 457 of file threefry.h.
|
inlinestatic |
Generate random 32-bits integers from Threefry2x32 RNG.
Definition at line 513 of file threefry.h.
|
inlinestatic |
Generate Threefry2x64 RNG state.
Definition at line 383 of file threefry.h.
|
inlinestatic |
Initialize Threefry2x64 RNG state.
Definition at line 485 of file threefry.h.
|
inlinestatic |
Generate random 64-bits integers from Threefry2x64 RNG.
Definition at line 539 of file threefry.h.
|
inlinestatic |
Generate Threefry4x32 RNG state.
Definition at line 346 of file threefry.h.
|
inlinestatic |
Initialize Threefry4x32 RNG state.
Definition at line 469 of file threefry.h.
|
inlinestatic |
Generate random 32-bits integers from Threefry4x32 RNG.
Definition at line 526 of file threefry.h.
|
inlinestatic |
Generate Threefry4x64 RNG state.
Definition at line 420 of file threefry.h.
|
inlinestatic |
Initialize Threefry4x64 RNG state.
Definition at line 497 of file threefry.h.
|
inlinestatic |
Generate random 64-bits integers from Threefry4x64 RNG.
Definition at line 552 of file threefry.h.