NLA-lib Explorer

NLAlib.LanczosRun.normalizedFunctionApprox_eval

Library · theorem

For a polynomial of degree below the step count, the normalized physical output is the collapse of the polynomial of the backward matrix at its starting vector.

NLAlib.LanczosRun.normalizedFunctionApprox_eval {n k : ℕ} (L : LanczosRun n k) {p : Polynomial ℝ}
  (hp : p.degree < ↑k) :
  (L.normalizedFunctionApprox fun x ↦ Polynomial.eval x p) =
    blockSumMatrix (Fin n) (Fin (k + 1)) ℝ *ᵥ
      cfc (fun x ↦ Polynomial.eval x p) L.backwardH *ᵥ L.dilatedStart

Full source on GitHub

Import NLAlib.Krylov.FinitePrecision.LanczosFunctions.