GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
randpoisson.cc File Reference
#include <cmath>
#include <cstddef>
#include "f77-fcn.h"
#include "lo-error.h"
#include "lo-ieee.h"
#include "randmtzig.h"
#include "randpoisson.h"
Include dependency graph for randpoisson.cc:

Go to the source code of this file.

Namespaces

 octave
 

Macros

#define C0   9.18938533204672742e-01
 
#define C1   8.33333333333333333e-02
 
#define C3   -2.77777777777777778e-03
 
#define C5   7.93650793650793651e-04
 
#define C7   -5.95238095238095238e-04
 
#define TABLESIZE   46
 

Functions

static double octave::f (double k, double l_nu, double c_pm)
 
static double octave::flogfak (double k)
 
template<typename T >
static void octave::poisson_cdf_lookup (double lambda, T *p, size_t n)
 
template<typename T >
static void octave::poisson_rejection (double lambda, T *p, size_t n)
 
static double octave::pprsc (double my)
 
template<typename T >
octave::rand_poisson (T L_arg)
 
template<typename T >
void octave::rand_poisson (T L_arg, octave_idx_type n, T *p)
 
template double octave::rand_poisson< double > (double)
 
template void octave::rand_poisson< double > (double, octave_idx_type, double *)
 
template float octave::rand_poisson< float > (float)
 
template void octave::rand_poisson< float > (float, octave_idx_type, float *)
 
static double octave::xlgamma (double x)
 

Macro Definition Documentation

◆ C0

#define C0   9.18938533204672742e-01

◆ C1

#define C1   8.33333333333333333e-02

◆ C3

#define C3   -2.77777777777777778e-03

◆ C5

#define C5   7.93650793650793651e-04

◆ C7

#define C7   -5.95238095238095238e-04

◆ TABLESIZE

#define TABLESIZE   46

Definition at line 279 of file randpoisson.cc.