NLA-lib Explorer

NLAlib.LanczosData.recurrenceError_eq_of_eq

Library · theorem

The recurrence residual is minus the sum of the matvec, previous-vector update, projection update and normalization defects. The local equations use decoded values at the supplied step; neither relative accuracy nor a positive next coefficient is assumed.

NLAlib.LanczosData.recurrenceError_eq_of_eq {n k : ℕ} (D : LanczosData n k) (j : ℕ)
  (u w z eu ew ez δ : Fin n → ℝ) (hu : u = D.H *ᵥ D.v (j + 1) + eu)
  (hw : w = u - D.β j • D.v j + ew) (hz : z = w - D.α (j + 1) • D.v (j + 1) + ez)
  (hδ : D.β (j + 1) • D.v (j + 2) = z + δ) : D.recurrenceError j = -(eu + ew + ez + δ)

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LanczosDefects.