NLA-lib Explorer

NLAlib.mul_col_eq_of_blockTriangular

Library · theorem

Column c of the product of a block \mathbf{Q}' with an upper triangular matrix \mathbf{R} splits into the earlier columns and the diagonal term: (\mathbf{Q}'\mathbf{R})_c = \mathbf{Q}'_{<c}\,\mathbf{s}_c + r_{cc}\mathbf{q}'_c, where \mathbf{Q}'_{<c} is \mathbf{Q}' with the columns c' \ge c replaced by zero and \mathbf{s}_c is column c of the strictly upper triangular part of \mathbf{R}.

NLAlib.mul_col_eq_of_blockTriangular.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {b : ℕ}
  (Q' : Matrix m (Fin b) 𝕜) {R : Matrix (Fin b) (Fin b) 𝕜} (hR : R.BlockTriangular id) (c : Fin b) :
  (Q' * R).col c = colsBefore Q' c *ᵥ (strictUpper R).col c + R c c • Q'.col c

Full source on GitHub

Import NLAlib.Matrix.Factorizations.CGS2.BasisExtension.