NLAlib.gramHorner_coeff
Library · theorem
The Gram Horner recurrence evaluates an ordinary polynomial supplied through its coefficients, including zero polynomials and padded degrees. [AmselPerssonMuscoGower2026, Appendix E].
NLAlib.gramHorner_coeff.{u_1, u_3} {𝕜 : Type u_1} {n : Type u_3} [RCLike 𝕜] [Fintype n]
[DecidableEq n] {q : ℕ} (p : Polynomial ℝ) (hp : p.natDegree ≤ q) (A : Matrix n n 𝕜) :
gramHorner q p.coeff A = (Polynomial.aeval A) pImport NLAlib.Matrix.Functions.PolarMinimax.