NLA-lib Explorer

NLAlib.overRelaxedCG_r_eq

Library · theorem

The updated residual of over-relaxed CG is the true one: \mathbf{r}_j = \mathbf{b} - \mathbf{A}\mathbf{x}_j.

NLAlib.overRelaxedCG_r_eq {n : ℕ} (A : Matrix (Fin n) (Fin n) ℝ) (b : Fin n → ℝ) (c : ℝ) (j : ℕ) :
  (overRelaxedCG A b c j).r = b - A *ᵥ (overRelaxedCG A b c j).x

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.OverRelaxedCG.