NLA-lib Explorer

NLAlib.PCGRun.sub_mulVec_x_sub_r_succ

Library · theorem

The residual-gap recurrence involves the matvec, iterate and residual-update defects. The preconditioner influences it through the search directions, not through an extra gap term.

NLAlib.PCGRun.sub_mulVec_x_sub_r_succ {n k : ℕ} (P : PCGRun n k) {j : ℕ} (hj : j < k) :
  P.b - P.A *ᵥ P.x (j + 1) - P.r (j + 1) =
    P.b - P.A *ᵥ P.x j - P.r j + P.γ j • P.es j - P.A *ᵥ P.ex j - P.er j

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.PCGRun.