NLA-lib Explorer

NLAlib.col_sub_mul_sub_mul_strictUpper

Library · theorem

Column c of one classical pass with given coefficients: for a block \mathbf{A}, coefficients \mathbf{H} and a square matrix \mathbf{B} with strictly upper triangular part \operatorname{su}(\mathbf{B}), (\mathbf{A} - \mathbf{Q}\mathbf{H} - \mathbf{Q}'\operatorname{su}(\mathbf{B}))_c = \mathbf{a}_c - \mathbf{Q}\mathbf{h}_c - \mathbf{Q}'_{<c}\,\mathbf{b}_c, where \mathbf{Q}'_{<c} is \mathbf{Q}' with the columns c' \ge c replaced by zero.

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

Full source on GitHub

Import NLAlib.Matrix.Factorizations.CGS2.BasisExtension.