GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
randmtzig.h File Reference
#include "octave-config.h"
Include dependency graph for randmtzig.h:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

#define MT_N   624

Function Documentation

OCTAVE_API void oct_fill_float_rande ( octave_idx_type  n,
float *  p 
)

Definition at line 861 of file randmtzig.cc.

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 853 of file randmtzig.cc.

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 845 of file randmtzig.cc.

References oct_float_randu().

Referenced by octave_rand::fill().

OCTAVE_API void oct_fill_rande ( octave_idx_type  n,
double p 
)

Definition at line 837 of file randmtzig.cc.

References oct_rande().

Referenced by octave_rand::fill().

OCTAVE_API void oct_fill_randn ( octave_idx_type  n,
double p 
)

Definition at line 829 of file randmtzig.cc.

References oct_randn().

Referenced by octave_rand::fill().

OCTAVE_API void oct_fill_randu ( octave_idx_type  n,
double p 
)

Definition at line 821 of file randmtzig.cc.

References oct_randu().

Referenced by octave_rand::fill().

OCTAVE_API float oct_float_rande ( void  )
OCTAVE_API float oct_float_randn ( void  )
OCTAVE_API float oct_float_randu ( void  )

Definition at line 415 of file randmtzig.cc.

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 302 of file randmtzig.cc.

References left, MT_N, and state.

Referenced by octave_rand::get_internal_state().

OCTAVE_API void oct_init_by_array ( uint32_t *  init_key,
int  key_length 
)

Definition at line 213 of file randmtzig.cc.

References k, MT_N, oct_init_by_int(), and state.

Referenced by oct_init_by_entropy(), and octave_rand::set_internal_state().

OCTAVE_API void oct_init_by_entropy ( void  )
OCTAVE_API void oct_init_by_int ( uint32_t  s)

Definition at line 192 of file randmtzig.cc.

References MT_N, and state.

Referenced by oct_init_by_array().

OCTAVE_API double oct_rande ( void  )

Definition at line 627 of file randmtzig.cc.

References create_ziggurat_tables(), ERANDI, fe, ke, log(), RANDU, we, x, ZIGGURAT_EXP_R, and ZIGINT.

Referenced by octave_rand::do_scalar(), and oct_fill_rande().

OCTAVE_API double oct_randn ( void  )
OCTAVE_API double oct_randu ( void  )

Definition at line 408 of file randmtzig.cc.

References randu53().

Referenced by octave_rand::do_scalar(), and oct_fill_randu().

OCTAVE_API void oct_set_state ( uint32_t *  save)

Definition at line 292 of file randmtzig.cc.

References MT_N, next, and state.

Referenced by octave_rand::set_internal_state().