NLA-lib Explorer

NLAlib.HasOrthonormalCols.frobNorm_sq

Library · theorem

The squared Frobenius norm of a matrix with orthonormal columns is its number of columns: \|\mathbf{Q}\|_{\mathsf{F}}^2 = \lvert n \rvert.

NLAlib.HasOrthonormalCols.frobNorm_sq.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_3}
  {n : Type u_4} [Fintype m] [Fintype n] [DecidableEq n] {Q : Matrix m n 𝕜}
  (hQ : HasOrthonormalCols Q) : frobNorm Q ^ 2 = ↑(Fintype.card n)

Full source on GitHub

Import NLAlib.Matrix.Norms.Compare.