logPmf

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

Returns the natural logarithm of the probability mass at k.

Computed directly in log-space as -s * ln(k) - ln(H(n, s)).

Return

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

Parameters

k

the rank at which to evaluate the log-mass.