NLA-lib Explorer

NLAlib.frobNorm_sq_eq_sum_sq

Library · theorem

Over \mathbb{R} the squared Frobenius norm is the sum of the squared entries, \|\mathbf{A}\|_{\mathsf{F}}^2 = \sum_{i,j} \mathbf{A}_{i,j}^2. This is NLAlib.frobNorm_sq_eq_sum with the absolute values removed, the form to rewrite with under an integral or a sum.

NLAlib.frobNorm_sq_eq_sum_sq.{u_3, u_4} {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.