Defines | Functions

randmtzig.h File Reference

This graph shows which files directly or indirectly include this file:

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 Documentation

#define MT_N   624

Function Documentation

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   ) 
OCTAVE_API void oct_init_by_int ( uint32_t  s  ) 

Definition at line 186 of file randmtzig.c.

References state.

Referenced by oct_init_by_array().

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   ) 
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[]  ) 
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines