GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
Go to the source code of this file.
Macros | |
#define | MT_N 624 |
Functions | |
OCTAVE_API void | oct_fill_float_rande (octave_idx_type n, float *p) |
OCTAVE_API void | oct_fill_float_randn (octave_idx_type n, float *p) |
OCTAVE_API void | oct_fill_float_randu (octave_idx_type n, float *p) |
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 float | oct_float_rande (void) |
OCTAVE_API float | oct_float_randn (void) |
OCTAVE_API float | oct_float_randu (void) |
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_get_state(), oct_init_by_array(), oct_init_by_entropy(), oct_init_by_int(), oct_set_state(), and octave_rand::set_internal_state().
OCTAVE_API void oct_fill_float_rande | ( | octave_idx_type | n, |
float * | p | ||
) |
Definition at line 865 of file randmtzig.c.
References oct_float_rande().
Referenced by octave_rand::fill().
OCTAVE_API void oct_fill_float_randn | ( | octave_idx_type | n, |
float * | p | ||
) |
Definition at line 857 of file randmtzig.c.
References oct_float_randn().
Referenced by octave_rand::fill().
OCTAVE_API void oct_fill_float_randu | ( | octave_idx_type | n, |
float * | p | ||
) |
Definition at line 849 of file randmtzig.c.
References oct_float_randu().
Referenced by octave_rand::fill().
OCTAVE_API void oct_fill_rande | ( | octave_idx_type | n, |
double * | p | ||
) |
Definition at line 841 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 833 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 825 of file randmtzig.c.
References oct_randu().
Referenced by octave_rand::fill().
Definition at line 797 of file randmtzig.c.
References create_ziggurat_float_tables(), ERANDI, fke, RANDU, x, ZIGGURAT_EXP_R, and ZIGINT.
Referenced by octave_rand::do_float_scalar(), and oct_fill_float_rande().
Definition at line 756 of file randmtzig.c.
References create_ziggurat_float_tables(), fki, LMASK, randi32, RANDU, x, ZIGGURAT_NOR_INV_R, and ZIGGURAT_NOR_R.
Referenced by octave_rand::do_float_scalar(), and oct_fill_float_randn().
Definition at line 418 of file randmtzig.c.
References randu32().
Referenced by octave_rand::do_float_scalar(), and oct_fill_float_randu().
OCTAVE_API void oct_get_state | ( | uint32_t | save[] | ) |
Definition at line 258 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 | ) |
Definition at line 196 of file randmtzig.c.
Referenced by oct_init_by_array().
Definition at line 630 of file randmtzig.c.
References create_ziggurat_tables(), ERANDI, ke, RANDU, x, ZIGGURAT_EXP_R, and ZIGINT.
Referenced by octave_rand::do_scalar(), and oct_fill_rande().
Definition at line 565 of file randmtzig.c.
References create_ziggurat_tables(), ki, NRANDI, randi32, RANDU, UMASK, x, ZIGGURAT_NOR_INV_R, and ZIGGURAT_NOR_R.
Referenced by octave_rand::do_scalar(), and oct_fill_randn().
Definition at line 411 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[] | ) |