NLA-lib Explorer

IsStarNormal.frobNorm_sq_eq_sum

Library Ā· theorem

The squared Frobenius norm of a normal matrix is the sum of the squared moduli of its eigenvalues: \|\mathbf{A}\|_{\mathsf{F}}^2 = \sum_i \lvert \mathbf{d}_i \rvert^2 for a listing \mathbf{d}.

IsStarNormal.frobNorm_sq_eq_sum.{u_1, u_3, u_4} {š•œ : Type u_1} [RCLike š•œ] {n : Type u_3} [Fintype n]
  [DecidableEq n] {A : Matrix n n š•œ} (hA : IsStarNormal A) {ι : Type u_4} [Fintype ι] {d : ι → š•œ}
  (hd : IsEigenvalueListing A d) : frobNorm A ^ 2 = āˆ‘ i, ‖d i‖ ^ 2

Full source on GitHub

Import NLAlib.Matrix.Spectral.Normal.