Probability density function at x.
x
double pdf(double x) { var z = (x - mean) / std; return math.exp(-0.5 * z * z) / (_sqrt2Pi * std); }