logPmf
Returns the natural logarithm of the probability mass at k for this binomial distribution.
Computed directly in log-space using the log-binomial-coefficient plus weighted log-probabilities, avoiding overflow for large trial counts where the binomial coefficient would exceed floating-point range.
Return
the natural log of the probability mass at k. Returns Double.NEGATIVE_INFINITY when the mass is zero.
Parameters
k
the number of successes at which to evaluate the log-probability.