pmf

abstract fun pmf(k: Int): Double(source)

Returns the probability mass at k.

The probability mass is the exact probability that the random variable equals k. Returns zero for values outside the distribution's support.

Return

the probability that the random variable equals k, in the range [0, 1].

Parameters

k

the integer outcome at which to evaluate the mass.