NLA-lib Explorer

NLAlib.csMatrix

Library ยท def

The canonical matrix of a CS decomposition with cosines \mathbf{c}, sines \mathbf{s} (real vectors indexed by p) and an injection e : p \to q of the first index block into the second: in block form \begin{\mathbf{b}matri\mathbf{x}} \mathbf{C} & \mathbf{S}\mathbf{E}^{\mathsf{H}} \\ -\mathbf{E}\mathbf{S} & \mathbf{E}\mathbf{C}\mathbf{E}^{\mathsf{H}} + (\mathbf{I} - \mathbf{E}\mathbf{E}^{\mathsf{H}}) \end{\mathbf{b}matri\mathbf{x}} with \mathbf{C} = \operatorname{diag}(\mathbf{c}), \mathbf{S} = \operatorname{diag}(\mathbf{s}) and \mathbf{E} the coordinate inclusion of e. [HornJohnson2013, Theorem 2.7.1]; [GolubVanLoan2013, Theorem 2.5.3].

NLAlib.csMatrix.{u_2, u_3, u_4} {p : Type u_2} {q : Type u_3} [Fintype p] [DecidableEq p]
  [DecidableEq q] (๐•œ : Type u_4) [RCLike ๐•œ] (c s : p โ†’ โ„) (e : p โ†ช q) : Matrix (p โŠ• q) (p โŠ• q) ๐•œ

Full source on GitHub

Import NLAlib.Matrix.Subspaces.CSDecomposition.