NLA-lib Explorer

NLAlib.Krylov.Lanczos.Rounded.Output.ritzOutput

Library · theorem

Every actual output has a residual guarantee or an explicit zero-cap/zero-input outcome. There is no assumed successful execution and no division by the physical Ritz-vector norm.

NLAlib.Krylov.Lanczos.Rounded.Output.ritzOutput {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) (hsmall : ↑cap * E ≤ 1 / 100) :
  Krylov.Lanczos.Rounded.RitzOutput dec A rhs E cap vs cs

Full source on GitHub

Import NLAlib.Krylov.Lanczos.Rounded.Ritz.