FLINT3.7.0-dev

ca_fmpz_mpoly_evaluate_horner, ca_fmpz_mpoly_evaluate

Synopsis#include <flint/ca.h>
void ca_fmpz_mpoly_evaluate_horner(ca_t res, const fmpz_mpoly_t f, ca_srcptr x, const fmpz_mpoly_ctx_t mctx, ca_ctx_t ctx)source
void ca_fmpz_mpoly_evaluate(ca_t res, const fmpz_mpoly_t f, ca_srcptr x, const fmpz_mpoly_ctx_t mctx, ca_ctx_t ctx)source

Sets res to the multivariate polynomial f (in the context mctx) evaluated at the vector x, which must have one entry per variable. The horner version uses a multivariate Horner scheme, and the default version currently calls the horner version.

Cite this page

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