_arb_poly_evaluate_horner, arb_poly_evaluate_horner, _arb_poly_evaluate_rectangular, arb_poly_evaluate_rectangular, _arb_poly_evaluate, arb_poly_evaluate
#include <flint/arb_poly.h>void arb_poly_evaluate_horner(arb_t y, const arb_poly_t f, const arb_t x, slong prec)sourcevoid _arb_poly_evaluate_rectangular(arb_t y, arb_srcptr f, slong len, const arb_t x, slong prec)sourcevoid arb_poly_evaluate_rectangular(arb_t y, const arb_poly_t f, const arb_t x, slong prec)sourcevoid arb_poly_evaluate(arb_t y, const arb_poly_t f, const arb_t x, slong prec)sourceSet using Horner's rule, rectangular splitting [PS1973], or an automatic choice. The underscore versions accept .
Rectangular splitting computes for and evaluates the inner polynomials as dot products, using about full multiplications and multiplications by the (short) coefficients. The automatic choice uses it when , and the coefficients have at most bits, and Horner's rule otherwise. Horner's rule usually gives the tighter enclosure when is a wide ball.
References#
- [PS1973] M. S. Paterson and L. J. Stockmeyer, "On the number of nonscalar multiplications necessary to evaluate polynomials", SIAM J. Comput (1973)
The FLINT team, “_arb_poly_evaluate_horner, arb_poly_evaluate_horner, _arb_poly_evaluate_rectangular, arb_poly_evaluate_rectangular, _arb_poly_evaluate, arb_poly_evaluate (arb_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/arb_poly/_arb_poly_evaluate_horner.html (generated 2026-11-02).
@misc{flint-doc-arb-poly-arb-poly-evaluate-horner,
author = {{The FLINT team}},
title = {{\_arb\_poly\_evaluate\_horner, arb\_poly\_evaluate\_horner, \_arb\_poly\_evaluate\_rectangular, arb\_poly\_evaluate\_rectangular, \_arb\_poly\_evaluate, arb\_poly\_evaluate (arb\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/arb_poly/_arb_poly_evaluate_horner.html},
note = {Generated 2026-11-02}
}