Computes the uniform complementary cumulative distribution function (CCDF).
value to evaluate CCDF
lower bound
upper bound
import mir.math.common: approxEqual; assert(0.5.uniformCCDF == 0.5); assert(0.5.uniformCCDF(0.0, 1.5).approxEqual(2.0 / 3)); assert(2.5.uniformCCDF(1.0, 3.0).approxEqual(1.0 / 4));
Uniform Distribution
See Implementation
Computes the uniform complementary cumulative distribution function (CCDF).