Computes the exponential cumulative distribution function (CDF).
value to evaluate CDF
number of events in an interval
import mir.math.common: approxEqual; assert(0.5.exponentialCDF(2.0).approxEqual(0.6321206)); assert(0.75.exponentialCDF(2.0).approxEqual(0.7768698)); assert(0.25.exponentialCDF(0.5).approxEqual(0.1175031));
Exponential Distribution
See Implementation
Computes the exponential cumulative distribution function (CDF).