NLAlib.HasOrthonormalCols.exists_cs_decomposition
Library Β· theorem
Headline of cs-decomposition
The CS decomposition. A unitary matrix \mathbf{U} partitioned into blocks over p β q, given an injection e : p \to q (so p is no larger than q), factors as \mathbf{U} = \begin{\mathbf{b}matri\mathbf{x}} \mathbf{V}_1 & \mathbf{0} \\ \mathbf{0} & \mathbf{V}_2 \end{\mathbf{b}matri\mathbf{x}} \mathbf{K} \begin{\mathbf{b}matri\mathbf{x}} \mathbf{W}_1 & \mathbf{0} \\ \mathbf{0} & \mathbf{W}_2 \end{\mathbf{b}matri\mathbf{x}}^{\mathsf{H}} with \mathbf{K} the canonical matrix NLAlib.csMatrix of \mathbf{c}, \mathbf{s}, e, unitary \mathbf{V}_1, \mathbf{W}_1, \mathbf{V}_2, \mathbf{W}_2, and \mathbf{c}_i, \mathbf{s}_i \ge 0, \mathbf{c}_i^2 + \mathbf{s}_i^2 = 1; the cosines \mathbf{c} are the singular values of the leading block, in some order. [HornJohnson2013, Theorem 2.7.1]; [GolubVanLoan2013, Theorem 2.5.3]; [PaigeWei1994, Theorem 8.1]; Paige and Wei allow any 2 \times 2 partitioning, here the diagonal blocks are square. Result: cs-decomposition
NLAlib.HasOrthonormalCols.exists_cs_decomposition.{u_1, u_2, u_3} {π : Type u_1} [RCLike π]
{p : Type u_2} {q : Type u_3} [Fintype p] [Fintype q] [DecidableEq p] [DecidableEq q]
{U : Matrix (p β q) (p β q) π} (hU : HasOrthonormalCols U) (e : p βͺ q) :
β Vβ Wβ Vβ Wβ c s,
HasOrthonormalCols Vβ β§
HasOrthonormalCols Wβ β§
HasOrthonormalCols Vβ β§
HasOrthonormalCols Wβ β§
(β (i : p), 0 β€ c i) β§
(β (i : p), 0 β€ s i) β§
(β (i : p), c i ^ 2 + s i ^ 2 = 1) β§
(β f, β (i : p), c i = singularValues U.toBlocksββ β(f i)) β§
U = fromBlocks Vβ 0 0 Vβ * csMatrix π c s e * (fromBlocks Wβ 0 0 Wβ)α΄΄Import NLAlib.Matrix.Subspaces.CSDecomposition.