NLA-lib Explorer

NLAlib.Krylov.Lanczos.Rounded.Output.ritzResidual

Library · theorem

Every unit eigenpair of the actual active tridiagonal has the standard finite-precision physical Ritz residual bound. Positive cap and nonzero input give an active prefix; the linear accumulated precision condition on the cap also bounds its actual executed length. The basis need not be orthogonal and the physical Ritz vector is not asserted to be unit. The factor <!-- value lanczosResidualFactor q --> 6q\sqrt{q} is the existing recurrence residual factor at the active length. No printed source; transfer of the pure run bound.

NLAlib.Krylov.Lanczos.Rounded.Output.ritzResidual {K : Type} [Inhabited K] {dec : K → ℝ} {n cap : ℕ}
  {vs cs : List K} {A : Matrix (Fin n) (Fin n) ℝ} {rhs : Fin n → ℝ} {E : ℝ}
  (h : Krylov.Lanczos.Rounded.Output dec A rhs E cap vs cs) (hcap : 0 < cap) (hrhs : rhs ≠ 0)
  (hsmall : ↑cap * E ≤ 1 / 100) : Krylov.Lanczos.Rounded.RitzResidual dec A E cap vs cs

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Rounded.Ritz.