Matrix.IsHermitian.frobNorm_sq_eq_sum_eigenvalue_sq
Library ยท theorem
The squared Frobenius norm of a Hermitian matrix is the sum of its squared eigenvalues: \|\mathbf{A}\|_{\mathsf{F}}^2 = \sum_{k < \lvert n \rvert} \lambda_k(\mathbf{A})^2.
Matrix.IsHermitian.frobNorm_sq_eq_sum_eigenvalue_sq.{u_1, u_2} {๐ : Type u_1} [RCLike ๐]
{n : Type u_2} [Fintype n] {A : Matrix n n ๐} (hA : A.IsHermitian) :
frobNorm A ^ 2 = โ k โ Finset.range (Fintype.card n), eigenvalue A k ^ 2Import NLAlib.Matrix.Spectral.EigenvalueTransform.