logPmf

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

Returns the natural logarithm of the probability mass at k.

Return

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

Parameters

k

the number of failures before the first success.