NLA-lib Explorer

NLAlib.specNorm_one_sub_rangeProjector_mul_rangeProjector

Library 路 theorem

The largest principal angle as a distance: \|(\mathbf{I} - \mathbf{P}_{\mathbf{X}})\mathbf{P}_{\mathbf{Y}}\|_2 = \sin \theta_j(\mathbf{X}, \mathbf{Y}) for j + 1 = \operatorname{rank} \mathbf{Y}, the sine of the largest principal angle counted up to the dimension of the column space of \mathbf{Y}. [GolubVanLoan2013, 搂2.5.3]. Result: principal-angles

NLAlib.specNorm_one_sub_rangeProjector_mul_rangeProjector.{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 饾暅) {j : 鈩晑 (hj : j + 1 = Y.rank) :
  specNorm ((1 - rangeProjector X) * rangeProjector Y) = Real.sin (principalAngle X Y j)

Full source on GitHub

Import NLAlib.Matrix.Subspaces.PrincipalAngles.