NLA-lib Explorer

NLAlib.principalAngle_of_rank_le

Library ยท theorem

Beyond the smaller of the two dimensions the principal angle is \pi / 2: \theta_k(\mathbf{X}, \mathbf{Y}) = \pi / 2 for \min(\operatorname{rank} \mathbf{X}, \operatorname{rank} \mathbf{Y}) \le k.

NLAlib.principalAngle_of_rank_le.{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 ๐•œ} {k : โ„•} (h : min X.rank Y.rank โ‰ค k) : principalAngle X Y k = ฯ€ / 2

Full source on GitHub

Import NLAlib.Matrix.Subspaces.PrincipalAngles.