Computes the geometric probability density function (PMF).
value to evaluate PMF
true probability
import mir.test: shouldApprox; 0.geometricPMF(0.5).shouldApprox == 0.5; 1.geometricPMF(0.5).shouldApprox == 0.25; 2.geometricPMF(0.25).shouldApprox == 0.140625;
Geometric Distribution
See Implementation
Computes the geometric probability density function (PMF).