NLA-lib Explorer

Matrix.PosDef.pcgState_p_ne_zero_of_r_ne_zero

Library · theorem

A nonzero residual gives a nonzero PCG direction under positive-definite system and preconditioner matrices. [Saad2003, §9.2].

Matrix.PosDef.pcgState_p_ne_zero_of_r_ne_zero.{u_2} {n : Type u_2} [Fintype n] {A M : Matrix n n ℝ}
  (hA : A.PosDef) (hM : M.PosDef) (b x₀ : n → ℝ) {k : ℕ} (hr : (pcgState A M b x₀ k).r ≠ 0) :
  (pcgState A M b x₀ k).p ≠ 0

Full source on GitHub

Import NLAlib.Krylov.CG.Math.Preconditioned.