cdf method

  1. @override
double cdf(
  1. double x
)
override

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) {
  return 0.5 * _erfc(-(x - mean) / (standardDeviation * sqrt(2)));
}