Logarithm of the probability density function at x.
x
double logPdf(double x) { var z = (x - mean) / std; return -0.5 * z * z - math.log(_sqrt2Pi * std); }