NLA-lib Explorer

NLAlib.frobNorm_sq_eq_sum

Library ยท theorem

The squared Frobenius norm is the sum of the squared moduli of the entries: \|\mathbf{A}\|_{\mathsf{F}}^2 = \sum_{i,j} \lvert \mathbf{A}_{i,j} \rvert^2.

NLAlib.frobNorm_sq_eq_sum.{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 ๐•œ) : frobNorm A ^ 2 = โˆ‘ i, โˆ‘ j, โ€–A i jโ€– ^ 2

Full source on GitHub

Import NLAlib.Matrix.Norms.Frobenius.