NLAlib.frobNorm_one_sub_rangeProjector_mul_rangeProjector_sq
Library ยท theorem
The Frobenius norm of (\mathbf{I} - \mathbf{P}_{\mathbf{X}})\mathbf{P}_{\mathbf{Y}} is the root sum of squares of the sines of the principal angles: \|(\mathbf{I} - \mathbf{P}_{\mathbf{X}})\mathbf{P}_{\mathbf{Y}}\|_{\mathsf{F}}^2 = \sum_{j < \operatorname{rank} \mathbf{Y}} \sin^2 \theta_j(\mathbf{X}, \mathbf{Y}).
NLAlib.frobNorm_one_sub_rangeProjector_mul_rangeProjector_sq.{u_1, u_2, u_3, u_4} {๐ : Type u_1}
[RCLike ๐] {n : Type u_2} {p : Type u_3} {q : Type u_4} [Fintype n] [Fintype p] [Fintype q]
[DecidableEq n] (X : Matrix n p ๐) (Y : Matrix n q ๐) :
frobNorm ((1 - rangeProjector X) * rangeProjector Y) ^ 2 =
โ j โ Finset.range Y.rank, Real.sin (principalAngle X Y j) ^ 2Import NLAlib.Matrix.Subspaces.PrincipalAngles.