NLA-lib Explorer

Matrix.PosDef.reorthStep_cgState

Library · theorem

Full reorthogonalization against all residuals through the current index leaves the exact positive-definite CG recurrence unchanged. [HestenesStiefel1952, Theorem 5:1].

Matrix.PosDef.reorthStep_cgState.{u_1} {n : Type u_1} [Fintype n] {A : Matrix n n ℝ} (hA : A.PosDef)
  (b x₀ : n → ℝ) (j : ℕ) :
  Krylov.CG.Reorth.reorthStep A (fun i ↦ (cgState A b x₀ i).r) (j + 1) (cgState A b x₀ j) =
    cgState A b x₀ (j + 1)

Full source on GitHub

Import NLAlib.Krylov.CG.Reorth.Math.