class NormalDistribution extends AbstractRealDistribution {

    public double cumulativeProbability(double x)  {
        final double dev = x - mean;
        if (FastMath.abs(dev) > 40 * standardDeviation) {
            return dev < 0 ? 0.0d : 1.0d;
        }
        return 0.5 * (1 + Erf.erf(dev / (standardDeviation * SQRT2)));
    }

    public  NormalDistribution();
    public  NormalDistribution(double mean, double sd);
    public  NormalDistribution(double mean, double sd, double inverseCumAccuracy);
    public  NormalDistribution(RandomGenerator rng, double mean, double sd);
    public  NormalDistribution(RandomGenerator rng,
                              double mean,
                              double sd,
                              double inverseCumAccuracy);

}