NLA-lib Explorer

NLAlib.LanczosRun.functionApprox

Library · def

The physical matrix function vector using the computed basis: \mathsf{functionApprox}(L,f) := \mathbf{V}_k f(\mathbf{T}_k)\mathbf{e}_0. The small matrix function and final multiplication are exact postprocessing. Algorithm: lanczos (specification)

NLAlib.LanczosRun.functionApprox {n k : ℕ} (L : LanczosRun n k) (f : ℝ → ℝ) : Fin n → ℝ

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LanczosFunctions.