NLA-lib Explorer

NLAlib.frobInner_self

Library 路 theorem

The Frobenius inner product of a matrix with itself is its squared Frobenius norm: \langle \mathbf{A}, \mathbf{A} \rangle_{\mathsf{F}} = \|\mathbf{A}\|_{\mathsf{F}}^2.

NLAlib.frobInner_self.{u_1, u_3, u_4} {饾暅 : Type u_1} [RCLike 饾暅] {m : Type u_3} {n : Type u_4}
  [Fintype m] [Fintype n] (A : Matrix m n 饾暅) : frobInner A A = frobNorm A ^ 2

Full source on GitHub

Import NLAlib.Matrix.Norms.Frobenius.