GNU Octave  3.8.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
Functions
randpoisson.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

OCTAVE_API void oct_fill_float_randp (float L, octave_idx_type n, float *p)
OCTAVE_API void oct_fill_randp (double L, octave_idx_type n, double *p)
OCTAVE_API float oct_float_randp (float L)
OCTAVE_API double oct_randp (double L)

Function Documentation

OCTAVE_API void oct_fill_float_randp ( float  L,
octave_idx_type  n,
float p 
)

Definition at line 553 of file randpoisson.c.

References floor(), INFINITE, NAN, poisson_cdf_lookup_float(), pprsc(), and RNOR.

Referenced by octave_rand::fill().

OCTAVE_API void oct_fill_randp ( double  L,
octave_idx_type  n,
double p 
)

Definition at line 482 of file randpoisson.c.

References floor(), INFINITE, NAN, poisson_cdf_lookup(), pprsc(), and RNOR.

Referenced by octave_rand::fill().

OCTAVE_API float oct_float_randp ( float  L)

Definition at line 586 of file randpoisson.c.

References floor(), INFINITE, NAN, poisson_rejection_float(), RNOR, and RUNI.

OCTAVE_API double oct_randp ( double  L)

Definition at line 514 of file randpoisson.c.

References floor(), INFINITE, NAN, poisson_rejection(), RNOR, and RUNI.

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