NLA-lib Explorer

NLAlib.specNorm_rangeProjector_sub_rangeProjector

Library 路 theorem

The distance between two projectors of equal rank is the sine of the largest principal angle: if \operatorname{rank} \mathbf{X} = \operatorname{rank} \mathbf{Y} = j + 1, then \|\mathbf{P}_{\mathbf{X}} - \mathbf{P}_{\mathbf{Y}}\|_2 = \sin \theta_j(\mathbf{X}, \mathbf{Y}). [GolubVanLoan2013, 搂2.5.3]. Result: projector-gap

NLAlib.specNorm_rangeProjector_sub_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]
  {X : Matrix n p 饾暅} {Y : Matrix n q 饾暅} (h : X.rank = Y.rank) {j : 鈩晑 (hj : j + 1 = Y.rank) :
  specNorm (rangeProjector X - rangeProjector Y) = Real.sin (principalAngle X Y j)

Full source on GitHub

Import NLAlib.Matrix.Subspaces.PrincipalAngles.