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
Functions
randpoisson.h File Reference
#include "octave-config.h"
Include dependency graph for randpoisson.h:
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 547 of file randpoisson.cc.

References octave::math::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 476 of file randpoisson.cc.

References octave::math::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 580 of file randpoisson.cc.

References octave::math::floor(), INFINITE, NaN(), poisson_rejection_float(), RNOR, RUNI, and t.

OCTAVE_API double oct_randp ( double  L)