GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
randpoisson.h File Reference
#include "octave-config.h"

Go to the source code of this file.

Functions

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

Function Documentation

◆ rand_poisson() [1/2]

template<typename T >
T rand_poisson ( L)

Definition at line 440 of file randpoisson.cc.

References floor(), lo_ieee_isinf, and NaN.

◆ rand_poisson() [2/2]

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

Definition at line 403 of file randpoisson.cc.

References lo_ieee_isinf, n, and NaN.