logPdf

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

Computes the natural logarithm of the probability density at x.

Returns Double.NEGATIVE_INFINITY for any x less than or equal to mu. Computed directly rather than as ln(pdf(x)) to avoid precision loss.

Return

the natural log of the density at x, or Double.NEGATIVE_INFINITY for x <= mu.

Parameters

x

the point at which to evaluate the log-density.