NLA-lib Explorer

NLAlib.frobNorm_sq_eq_sum_col

Library · theorem

The squared Frobenius norm is the sum of the squared Euclidean norms of the columns.

NLAlib.frobNorm_sq_eq_sum_col.{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 = ∑ j, ‖WithLp.toLp 2 (A.col j)‖ ^ 2

Full source on GitHub

Import NLAlib.Matrix.Norms.Frobenius.