gr_fmpz_mpoly_evaluate_iter, gr_fmpz_mpoly_evaluate_horner, gr_fmpz_mpoly_evaluate
Synopsis
#include <flint/gr_generic.h>int gr_fmpz_mpoly_evaluate_iter(gr_ptr res, const fmpz_mpoly_t pol, gr_srcptr x, const fmpz_mpoly_ctx_t mctx, gr_ctx_t ctx)sourceint gr_fmpz_mpoly_evaluate_horner(gr_ptr res, const fmpz_mpoly_t pol, gr_srcptr x, const fmpz_mpoly_ctx_t mctx, gr_ctx_t ctx)sourceint gr_fmpz_mpoly_evaluate(gr_ptr res, const fmpz_mpoly_t f, gr_srcptr x, const fmpz_mpoly_ctx_t mctx, gr_ctx_t ctx)sourceSet res to the value of the multivariate integer polynomial f (with context mctx) at the vector of values x, one entry for each variable: term by term, or by a multivariate Horner scheme that chooses the variable to factor out greedily; gr_fmpz_mpoly_evaluate uses the first method for polynomials with at most one term and word-size exponents and the second otherwise. Declared only if fmpz_mpoly.h is included first.
Cite this page
The FLINT team, “gr_fmpz_mpoly_evaluate_iter, gr_fmpz_mpoly_evaluate_horner, gr_fmpz_mpoly_evaluate (gr_generic.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_generic/gr_fmpz_mpoly_evaluate_iter.html (generated 2026-10-20).
@misc{flint-doc-gr-generic-gr-fmpz-mpoly-evaluate-iter,
author = {{The FLINT team}},
title = {{gr\_fmpz\_mpoly\_evaluate\_iter, gr\_fmpz\_mpoly\_evaluate\_horner, gr\_fmpz\_mpoly\_evaluate (gr\_generic.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_generic/gr_fmpz_mpoly_evaluate_iter.html},
note = {Generated 2026-10-20}
}