NLA-lib Explorer

NLAlib.col_sub_mul_conjTranspose_mul_sub_mul_strictUpper

Library · theorem

Column c of one exact classical pass is the projection of column c of the input: for a block \mathbf{A} and \mathbf{V}_c = [\mathbf{Q}, \mathbf{Q}'_{<c}], where \mathbf{Q}'_{<c} is \mathbf{Q}' with the columns c' \ge c replaced by zero and \operatorname{su} is the strictly upper triangular part, (\mathbf{A} - \mathbf{Q}\mathbf{Q}^{\mathsf{H}}\mathbf{A} - \mathbf{Q}'\operatorname{su}(\mathbf{Q}'^{\mathsf{H}}\mathbf{A}))_c = \mathbf{a}_c - \mathbf{V}_c\mathbf{V}_c^{\mathsf{H}}\mathbf{a}_c.

NLAlib.col_sub_mul_conjTranspose_mul_sub_mul_strictUpper.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_2} {b : ℕ} [Fintype m] {κ : Type u_3} [Fintype κ] (Q : Matrix m κ 𝕜)
  (A Q' : Matrix m (Fin b) 𝕜) (c : Fin b) :
  (A - Q * (Qᴴ * A) - Q' * strictUpper (Q'ᴴ * A)).col c =
    A.col c - Q.fromCols (colsBefore Q' c) *ᵥ (Q.fromCols (colsBefore Q' c))ᴴ *ᵥ A.col c

Full source on GitHub

Import NLAlib.Matrix.Factorizations.CGS2.BasisExtension.