Computes the poisson log probability mass function (LPMF).
value to evaluate LPMF (e.g. number of "heads")
expected rate of occurence
import mir.math.common: approxEqual, exp; for (size_t i; i <= 10; i++) { assert(i.poissonLPMF(5.0).exp.approxEqual(poissonPMF(i, 5.0))); }
Poisson Distribution
See Implementation
Computes the poisson log probability mass function (LPMF).