NLA-lib Explorer

NLAlib.relativeEntropy_self

Library 路 theorem

The relative entropy of a matrix with itself vanishes: D(\mathbf{A}; \mathbf{A}) = 0.

NLAlib.relativeEntropy_self.{u_1, u_2} {饾暅 : Type u_1} [RCLike 饾暅] {n : Type u_2} [Fintype n]
  [DecidableEq n] (A : Matrix n n 饾暅) : relativeEntropy A A = 0

Full source on GitHub

Import NLAlib.Matrix.Functions.Lieb.