Go to the source code of this file.
Defines | |
#define | MT_N 624 |
Functions | |
OCTAVE_API void | oct_fill_rande (octave_idx_type n, double *p) |
OCTAVE_API void | oct_fill_randn (octave_idx_type n, double *p) |
OCTAVE_API void | oct_fill_randu (octave_idx_type n, double *p) |
OCTAVE_API void | oct_get_state (uint32_t save[]) |
OCTAVE_API void | oct_init_by_array (uint32_t init_key[], int key_length) |
OCTAVE_API void | oct_init_by_entropy (void) |
OCTAVE_API void | oct_init_by_int (uint32_t s) |
OCTAVE_API double | oct_rande (void) |
OCTAVE_API double | oct_randn (void) |
OCTAVE_API double | oct_randu (void) |
OCTAVE_API void | oct_set_state (uint32_t save[]) |
#define MT_N 624 |
Definition at line 67 of file randmtzig.h.
Referenced by octave_rand::get_internal_state(), next_state(), oct_init_by_array(), oct_init_by_entropy(), and octave_rand::set_internal_state().
OCTAVE_API void oct_fill_rande | ( | octave_idx_type | n, | |
double * | p | |||
) |
Definition at line 698 of file randmtzig.c.
References oct_rande().
Referenced by octave_rand::fill().
OCTAVE_API void oct_fill_randn | ( | octave_idx_type | n, | |
double * | p | |||
) |
Definition at line 690 of file randmtzig.c.
References oct_randn().
Referenced by octave_rand::fill().
OCTAVE_API void oct_fill_randu | ( | octave_idx_type | n, | |
double * | p | |||
) |
Definition at line 682 of file randmtzig.c.
References oct_randu().
Referenced by octave_rand::fill().
OCTAVE_API void oct_get_state | ( | uint32_t | save[] | ) |
OCTAVE_API void oct_init_by_array | ( | uint32_t | init_key[], | |
int | key_length | |||
) |
OCTAVE_API void oct_init_by_entropy | ( | void | ) |
Definition at line 247 of file randmtzig.c.
References MT_N, and oct_init_by_array().
Referenced by octave_rand::do_reset(), octave_rand::initialize_mersenne_twister(), and next_state().
OCTAVE_API void oct_init_by_int | ( | uint32_t | s | ) |
OCTAVE_API double oct_rande | ( | void | ) |
Definition at line 654 of file randmtzig.c.
References create_ziggurat_tables(), RANDU, x, ZIGGURAT_EXP_R, and ZIGINT.
Referenced by octave_rand::do_scalar(), and oct_fill_rande().
OCTAVE_API double oct_randn | ( | void | ) |
Definition at line 580 of file randmtzig.c.
References create_ziggurat_tables(), randi32, RANDU, x, ZIGGURAT_NOR_INV_R, and ZIGGURAT_NOR_R.
Referenced by octave_rand::do_scalar(), and oct_fill_randn().
OCTAVE_API double oct_randu | ( | void | ) |
Definition at line 421 of file randmtzig.c.
References randu53().
Referenced by octave_rand::do_scalar(), and oct_fill_randu().
OCTAVE_API void oct_set_state | ( | uint32_t | save[] | ) |