NLAlib.entropy
Library · def
The entropy of a nonnegative function f under \nu: \operatorname{Ent}(f) = \int f \log f \, d\nu - \bigl(\int f \, d\nu\bigr) \log \int f \, d\nu. It is a junk value when f or f \log f is not integrable.
NLAlib.entropy.{u_1} {Ω : Type u_1} {mΩ : MeasurableSpace Ω} (ν : Measure Ω) (f : Ω → ℝ) : ℝImport NLAlib.Probability.Entropy.