logPmf

open override fun logPmf(k: Int): Double(source)

Returns the natural logarithm of the probability mass at k.

Computed using log-combinations to avoid overflow for large population sizes.

Return

the natural log of the probability mass at k. Returns Double.NEGATIVE_INFINITY when k is outside the support.

Parameters

k

the number of success items in the draw.