Computes the exponential probability density function (PDF).
value to evaluate PDF
number of events in an interval
import mir.math.common: approxEqual; assert(0.5.exponentialPDF(2.0).approxEqual(0.7357589)); assert(0.75.exponentialPDF(2.0).approxEqual(0.4462603)); assert(0.25.exponentialPDF(0.5).approxEqual(0.4412485));
Exponential Distribution
See Implementation
Computes the exponential probability density function (PDF).