Computes the discrete uniform probability mass function (PMF).
value to evaluate PMF
lower bound
upper bound
import mir.test: shouldApprox; 1.uniformDiscretePMF.shouldApprox == 0.5; 2.uniformDiscretePMF(1, 3).shouldApprox == 1.0 / 3;
Discrete Uniform Distribution
See Implementation
Computes the discrete uniform probability mass function (PMF).