Go to the source code of this file.
|
tw_rng * | tw_rand_init (uint32_t v, uint32_t w) |
tw_rng * | tw_rand_core_init (uint32_t v, uint32_t w) |
void | tw_rand_initial_seed (tw_rng_stream *g, tw_lpid id, tw_rng *the_rng) |
long | tw_rand_integer (tw_rng_stream *g, long low, long high) |
unsigned long | tw_rand_ulong (tw_rng_stream *g, unsigned long low, unsigned long high) |
long | tw_rand_binomial (tw_rng_stream *g, long N, double P) |
double | tw_rand_exponential (tw_rng_stream *g, double Lambda) |
double | tw_rand_pareto (tw_rng_stream *g, double scale, double shape) |
double | tw_rand_gamma (tw_rng_stream *g, double shape, double scale) |
long | tw_rand_geometric (tw_rng_stream *g, double P) |
double | tw_rand_normal01 (tw_rng_stream *g, unsigned int *rng_calls) |
double | tw_rand_normal_sd (tw_rng_stream *g, double Mu, double Sd, unsigned int *rng_calls) |
long | tw_rand_poisson (tw_rng_stream *g, double Lambda) |
double | tw_rand_weibull (tw_rng_stream *g, double mean, double shape) |
◆ tw_opi
#define tw_opi 6.28318530718 |
◆ tw_rand_reverse_unif
#define tw_rand_reverse_unif |
( |
| G | ) |
|
◆ tw_rand_unif
#define tw_rand_unif |
( |
| G | ) |
|
◆ tw_rand_binomial()
◆ tw_rand_core_init()
tw_rng * tw_rand_core_init |
( |
uint32_t | v, |
|
|
uint32_t | w ) |
|
extern |
◆ tw_rand_exponential()
◆ tw_rand_gamma()
double tw_rand_gamma |
( |
tw_rng_stream * | g, |
|
|
double | shape, |
|
|
double | scale ) |
|
extern |
◆ tw_rand_geometric()
◆ tw_rand_init()
tw_rng * tw_rand_init |
( |
uint32_t | v, |
|
|
uint32_t | w ) |
|
extern |
◆ tw_rand_initial_seed()
◆ tw_rand_integer()
◆ tw_rand_normal01()
double tw_rand_normal01 |
( |
tw_rng_stream * | g, |
|
|
unsigned int * | rng_calls ) |
|
extern |
◆ tw_rand_normal_sd()
double tw_rand_normal_sd |
( |
tw_rng_stream * | g, |
|
|
double | Mu, |
|
|
double | Sd, |
|
|
unsigned int * | rng_calls ) |
|
extern |
◆ tw_rand_pareto()
double tw_rand_pareto |
( |
tw_rng_stream * | g, |
|
|
double | scale, |
|
|
double | shape ) |
|
extern |
◆ tw_rand_poisson()
◆ tw_rand_ulong()
unsigned long tw_rand_ulong |
( |
tw_rng_stream * | g, |
|
|
unsigned long | low, |
|
|
unsigned long | high ) |
|
extern |
◆ tw_rand_weibull()
double tw_rand_weibull |
( |
tw_rng_stream * | g, |
|
|
double | mean, |
|
|
double | shape ) |
|
extern |