GNU Octave  4.0.0
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
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 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().

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

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[])
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)

Definition at line 196 of file randmtzig.c.

References MT_N, and state.

Referenced by oct_init_by_array().

OCTAVE_API double oct_rande ( void  )

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().

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

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[])