The OpenD Programming Language

mir.stat.distribution.uniform_discrete

This module contains algorithms for the Discrete Uniform Distribution.

Members

Functions

uniformDiscreteCCDF
double uniformDiscreteCCDF(size_t x, size_t lower, size_t upper)

Computes the discrete uniform complementary cumulative distribution function (CCDF).

uniformDiscreteCDF
double uniformDiscreteCDF(size_t x, size_t lower, size_t upper)

Computes the discrete uniform cumulative distribution function (CDF).

uniformDiscreteInvCDF
size_t uniformDiscreteInvCDF(T p, size_t lower, size_t upper)

Computes the discrete uniform inverse cumulative distribution function (InvCDF)

uniformDiscreteLPMF
double uniformDiscreteLPMF(size_t x, size_t lower, size_t upper)

Computes the discrete uniform log probability distribution function (LPDF)

uniformDiscretePMF
double uniformDiscretePMF(size_t x, size_t lower, size_t upper)

Computes the discrete uniform probability mass function (PMF).

Meta

Authors

John Michael Hall