GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
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

template<typename T >
OCTAVE_APIrand_poisson (T L)
 
template<typename T >
OCTAVE_API void rand_poisson (T L, octave_idx_type n, T *p)
 

Function Documentation

◆ rand_poisson() [1/2]

template<typename T >
OCTAVE_API T rand_poisson ( L)

Definition at line 433 of file randpoisson.cc.

References floor(), lo_ieee_isinf, and NaN.

◆ rand_poisson() [2/2]

template<typename T >
OCTAVE_API void rand_poisson ( L,
octave_idx_type  n,
T *  p 
)

Definition at line 398 of file randpoisson.cc.

References floor(), lo_ieee_isinf, n, NaN, and pprsc().