#include "octave-config.h"
Go to the source code of this file.
Macros | |
#define | MT_N 624 |
#define MT_N 624 |
Definition at line 72 of file randmtzig.h.
OCTAVE_API void get_mersenne_twister_state | ( | uint32_t * | save | ) |
Definition at line 318 of file randmtzig.cc.
References left, MT_N, and state.
Referenced by rand::get_internal_state().
OCTAVE_API void init_mersenne_twister | ( | const uint32_t * | init_key, |
const int | key_length | ||
) |
Definition at line 220 of file randmtzig.cc.
References init_mersenne_twister(), initf, left, MT_N, and state.
OCTAVE_API void init_mersenne_twister | ( | const uint32_t | seed | ) |
Definition at line 200 of file randmtzig.cc.
References initf, left, MT_N, and state.
Referenced by rand::do_reset(), init_mersenne_twister(), rand::initialize_mersenne_twister(), next_state(), and rand::set_internal_state().
OCTAVE_API void init_mersenne_twister | ( | void | ) |
Definition at line 260 of file randmtzig.cc.
References getpid(), init_mersenne_twister(), min(), MT_N, and n.
OCTAVE_API void rand_exponential | ( | octave_idx_type | n, |
T * | p | ||
) |
OCTAVE_API T rand_exponential | ( | void | ) |
OCTAVE_API void rand_exponential< double > | ( | octave_idx_type | n, |
double * | p | ||
) |
OCTAVE_API double rand_exponential< double > | ( | void | ) |
Definition at line 649 of file randmtzig.cc.
References create_ziggurat_tables(), ERANDI, fe, initt, ke, RANDU, we, x, ZIGGURAT_EXP_R, and ZIGINT.
Referenced by rand::exponential(), rand::fill(), and rand_exponential().
OCTAVE_API void rand_exponential< float > | ( | octave_idx_type | n, |
float * | p | ||
) |
OCTAVE_API float rand_exponential< float > | ( | void | ) |
Definition at line 827 of file randmtzig.cc.
References create_ziggurat_float_tables(), ERANDI, ffe, fke, fwe, inittf, RANDU, x, ZIGGURAT_EXP_R, and ZIGINT.
Referenced by rand::exponential(), rand::fill(), and rand_exponential().
OCTAVE_API void rand_normal | ( | octave_idx_type | n, |
T * | p | ||
) |
OCTAVE_API T rand_normal | ( | void | ) |
OCTAVE_API void rand_normal< double > | ( | octave_idx_type | n, |
double * | p | ||
) |
OCTAVE_API double rand_normal< double > | ( | void | ) |
Definition at line 585 of file randmtzig.cc.
References create_ziggurat_tables(), fi, initt, ki, NRANDI, r, randi32, RANDU, UMASK, wi, x, ZIGGURAT_NOR_INV_R, and ZIGGURAT_NOR_R.
Referenced by rand::fill(), rand::normal(), and rand_normal().
OCTAVE_API void rand_normal< float > | ( | octave_idx_type | n, |
float * | p | ||
) |
OCTAVE_API float rand_normal< float > | ( | void | ) |
Definition at line 787 of file randmtzig.cc.
References create_ziggurat_float_tables(), ffi, fki, fwi, inittf, LMASK, r, randi32, RANDU, x, ZIGGURAT_NOR_INV_R, and ZIGGURAT_NOR_R.
Referenced by rand::fill(), rand::normal(), and rand_normal().
OCTAVE_API void rand_uniform | ( | octave_idx_type | n, |
T * | p | ||
) |
OCTAVE_API T rand_uniform | ( | void | ) |
OCTAVE_API void rand_uniform< double > | ( | octave_idx_type | n, |
double * | p | ||
) |
Definition at line 675 of file randmtzig.cc.
References n, and rand_uniform< double >().
OCTAVE_API double rand_uniform< double > | ( | void | ) |
Definition at line 430 of file randmtzig.cc.
References randu53().
Referenced by rand::fill(), poisson_cdf_lookup(), poisson_rejection(), pprsc(), rand_uniform< double >(), and rand::uniform().
OCTAVE_API void rand_uniform< float > | ( | octave_idx_type | n, |
float * | p | ||
) |
OCTAVE_API float rand_uniform< float > | ( | void | ) |
Definition at line 438 of file randmtzig.cc.
References randu24().
Referenced by rand::fill(), rand_uniform(), and rand::uniform().
OCTAVE_API void set_mersenne_twister_state | ( | const uint32_t * | save | ) |
Definition at line 311 of file randmtzig.cc.
References left, MT_N, next, and state.
Referenced by rand::set_internal_state().