cdf method
Cumulative Distribution Function (CDF).
If you want to know probability for a range of values, you can use probabilityForRange.
Implementation
@override
double cdf(double x) {
if (x.isNaN) {
throw ArgumentError.value(x, 'x');
}
if (x <= 0.0) {
return 0.0;
}
if (x >= 1.0) {
return 1.0;
}
throw UnimplementedError();
}