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.
|
static |
Generate Threefry2x32 RNG state.
Definition at line 311 of file threefry.h.
|
static |
Initialize Threefry2x32 RNG state.
Definition at line 463 of file threefry.h.
|
static |
Generate random 32-bits integers from Threefry2x32 RNG.
Definition at line 519 of file threefry.h.
|
static |
Generate Threefry2x64 RNG state.
Definition at line 387 of file threefry.h.
|
static |
Initialize Threefry2x64 RNG state.
Definition at line 491 of file threefry.h.
|
static |
Generate random 64-bits integers from Threefry2x64 RNG.
Definition at line 545 of file threefry.h.
|
static |
Generate Threefry4x32 RNG state.
Definition at line 349 of file threefry.h.
|
static |
Initialize Threefry4x32 RNG state.
Definition at line 475 of file threefry.h.
|
static |
Generate random 32-bits integers from Threefry4x32 RNG.
Definition at line 532 of file threefry.h.
|
static |
Generate Threefry4x64 RNG state.
Definition at line 425 of file threefry.h.
|
static |
Initialize Threefry4x64 RNG state.
Definition at line 503 of file threefry.h.
|
static |
Generate random 64-bits integers from Threefry4x64 RNG.
Definition at line 558 of file threefry.h.