NLAlib.frobNorm_sq_eq_sum_range_singularValues_sq
Library ยท theorem
The squared Frobenius norm is the sum of the squared singular values up to any index that reaches the rank: \|\mathbf{A}\|_{\mathsf{F}}^2 = \sum_{k < N} \sigma_k(\mathbf{A})^2 for \operatorname{rank} \mathbf{A} \le N.
NLAlib.frobNorm_sq_eq_sum_range_singularValues_sq.{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 ๐) {N : โ}
(hN : A.rank โค N) : frobNorm A ^ 2 = โ k โ Finset.range N, singularValues A k ^ 2Import NLAlib.Matrix.Spectral.SingularValues.