logPdf

open override fun logPdf(x: Double): Double(source)

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 non-positive.

Parameters

x

the point at which to evaluate the log-density.