Computes the discrete uniform log probability distribution function (LPDF)
value to evaluate LPDF
lower bound
upper bound
import mir.math.common: log; import mir.test: shouldApprox; 1.uniformDiscreteLPMF.shouldApprox == -log(2.0); 2.uniformDiscreteLPMF(1, 3).shouldApprox == -log(3.0);
Discrete Uniform Distribution
See Implementation
Computes the discrete uniform log probability distribution function (LPDF)