NLA-lib Explorer

Matrix.PosDef.mulVec_pcgIterate_of_krylovGrade_le

Library · theorem

At or beyond the preconditioned Krylov grade, the mathematical PCG iterate solves the system. This formulation does not require an already chosen solution. [Saad2003, §9.2].

Matrix.PosDef.mulVec_pcgIterate_of_krylovGrade_le.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {n : Type u_2} [Fintype n] [DecidableEq n] {A M : Matrix n n 𝕜} (hA : A.PosDef) (hM : M.PosDef)
  (b x₀ : n → 𝕜) {k : ℕ} (hk : krylovGrade (M * A) (M *ᵥ (b - A *ᵥ x₀)) ≤ k) :
  A *ᵥ pcgIterate A M b x₀ k = b

Full source on GitHub

Import NLAlib.Krylov.CG.Math.Preconditioned.