pmf

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

Returns the probability mass at k, the probability of exactly k failures before the first success.

Return

the probability of exactly k failures, or zero if k is negative.

Parameters

k

the number of failures before the first success.