FLINT3.7.0-dev

_gr_poly_newton_basis_evaluate, gr_poly_newton_basis_evaluate

Synopsis#include <flint/gr_poly.h>
int _gr_poly_newton_basis_evaluate(gr_ptr res, gr_srcptr basis, gr_srcptr poly, slong len, gr_srcptr x, gr_ctx_t ctx)source
int gr_poly_newton_basis_evaluate(gr_ptr res, const gr_vec_t basis, const gr_poly_t poly, gr_srcptr x, gr_ctx_t ctx)source

Sets res to the value at x of the polynomial given in the Newton basis, by a Horner scheme in the factors x - c_i. The same conditions on basis apply as for the conversions.

Cite this page

The FLINT team, “_gr_poly_newton_basis_evaluate, gr_poly_newton_basis_evaluate (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/_gr_poly_newton_basis_evaluate.html (generated 2026-10-20).