value to evaluate LPMF (e.g. number of correct draws of object of interest)
total population size
number of relevant objects in population
number of draws
import mir.math.common: log; import mir.test: shouldApprox; 0.hypergeometricLPMF(7, 4, 3).shouldApprox == log(0.02857143); 1.hypergeometricLPMF(7, 4, 3).shouldApprox == log(0.3428571); 2.hypergeometricLPMF(7, 4, 3).shouldApprox == log(0.5142857); 3.hypergeometricLPMF(7, 4, 3).shouldApprox == log(0.1142857);
Computes the hypergeometric log probability mass function (LPMF).