NLA-lib Explorer

NLAlib.gramHorner_eq_sum

Library ยท theorem

The finite matrix polynomial evaluated by the Horner recursion. [AmselPerssonMuscoGower2026, Appendix E].

NLAlib.gramHorner_eq_sum.{u_1, u_3} {๐•œ : Type u_1} {n : Type u_3} [RCLike ๐•œ] [Fintype n]
  [DecidableEq n] (q : โ„•) (c : โ„• โ†’ โ„) (S : Matrix n n ๐•œ) :
  gramHorner q c S = โˆ‘ j โˆˆ Finset.range (q + 1), c j โ€ข S ^ j

Full source on GitHub

Import NLAlib.Matrix.Functions.PolarMinimax.