The OpenD Programming Language

mir.stat.distribution.poisson

This module contains algorithms for the Poisson Distribution.

Members

Enums

PoissonAlgo
enum PoissonAlgo

Algorithms used to calculate poisson dstribution.

Functions

fp_poissonPMF
T fp_poissonPMF(size_t k, T lambda)

Computes the poisson probability mass function (PMF) directly with extended floating point types (e.g. Fp!128), which provides additional accuracy for large values of lambda or k.

poissonLPMF
T poissonLPMF(size_t k, T lambda)

Computes the poisson log probability mass function (LPMF).

Templates

poissonCCDF
template poissonCCDF(PoissonAlgo poissonAlgo = PoissonAlgo.direct)
template poissonCCDF(string poissonAlgo)

Computes the poisson complementary cumulative distrivution function (CCDF).

poissonCDF
template poissonCDF(PoissonAlgo poissonAlgo = PoissonAlgo.direct)
template poissonCDF(string poissonAlgo)

Computes the poisson cumulative distrivution function (CDF).

poissonInvCDF
template poissonInvCDF(PoissonAlgo poissonAlgo)

Computes the poisson inverse cumulative distrivution function (InvCDF).

poissonInvCDF
template poissonInvCDF(PoissonAlgo poissonAlgo = PoissonAlgo.direct)
template poissonInvCDF(string poissonAlgo)

Computes the poisson inverse cumulative distrivution function (InvCDF).

poissonPMF
template poissonPMF(PoissonAlgo poissonAlgo = PoissonAlgo.direct)
template poissonPMF(string poissonAlgo)

Computes the poisson probability mass function (PMF).

Meta

Authors

John Michael Hall