logPdf
Returns the natural logarithm of the probability density at x.
Computed directly rather than as ln(pdf(x)) to avoid precision loss with very small density values.
Return
the natural log of the probability density, or Double.NEGATIVE_INFINITY when x is negative.
Parameters
x
the point at which to evaluate the log-density.