FLINT3.7.0-dev

fmpz_mpoly_evaluate_all_fmpz

Synopsis#include <flint/fmpz_mpoly.h>
int fmpz_mpoly_evaluate_all_fmpz(fmpz_t ev, const fmpz_mpoly_t A, fmpz * const * vals, const fmpz_mpoly_ctx_t ctx)source

Sets ev to A(\mathit{vals}[0], \ldots, \mathit{vals}[n-1]). The powers of each value are computed by repeated squaring once, and each term is evaluated with them. Returns 1 for success and 0 for failure.

Cite this page

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