entropy

open override val entropy: Double(source)

Returns the Shannon entropy of this Poisson distribution in nats.

Computed by summing -pmf(k) * ln(pmf(k)) over all non-negative integers k until the cumulative probability is within 1e-15 of 1.0, or a safety limit of 100,000 terms is reached.

Return

the entropy in nats. Always non-negative.