NLA-lib Explorer

NLAlib.CGS2.storedCol_mulVec

Library · theorem

The projection onto the stored columns of round c is the projection onto the columns of \mathbf{F} = [\mathbf{Q}, \mathbf{Q}'_{<c}]: with \mathbf{V} the stored columns of \mathbf{F}, \mathbf{V}\mathbf{V}^{\mathsf{T}}\mathbf{x} = \mathbf{F}\mathbf{F}^{\mathsf{T}}\mathbf{x}, the other columns of \mathbf{F} being zero.

NLAlib.CGS2.storedCol_mulVec {n k b : ℕ} (Q : Matrix (Fin n) (Fin k) ℝ)
  (Q' : Matrix (Fin n) (Fin b) ℝ) (c : Fin b) (x : Fin n → ℝ) :
  (Q.fromCols (colsBefore Q' c)).submatrix id (CGS2.storedCol k b ↑c ⋯) *ᵥ
      ((Q.fromCols (colsBefore Q' c)).submatrix id (CGS2.storedCol k b ↑c ⋯))ᵀ *ᵥ x =
    Q.fromCols (colsBefore Q' c) *ᵥ (Q.fromCols (colsBefore Q' c))ᵀ *ᵥ x

Full source on GitHub

Import NLAlib.Krylov.Orthogonalization.CGS2.ExtendDecode.