NLA-lib Explorer

NLAlib.LanczosData.recurrenceError

Library · def

The residual of the three-term recurrence at step j (0-based): \mathbf{f}_j = \mathbf{H}\mathbf{v}_{j+1} - \beta_j\mathbf{v}_j - \alpha_{j+1}\mathbf{v}_{j+1} - \beta_{j+1}\mathbf{v}_{j+2}, the paper's \mathbf{f}_{j+1}. At a terminal last step \beta_k = 0 and \mathbf{v}_{k+1} does not enter.

NLAlib.LanczosData.recurrenceError {n k : ℕ} (D : LanczosData n k) (j : ℕ) : Fin n → ℝ

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LanczosData.