FLINT3.7.0-dev

_fmpz_mpoly_set_fmpz_poly

Synopsis#include <flint/fmpz_mpoly.h>
void _fmpz_mpoly_set_fmpz_poly(fmpz_mpoly_t A, flint_bitcnt_t Abits, const fmpz * Bcoeffs, slong Blen, slong var, const fmpz_mpoly_ctx_t ctx)source

Sets A to \sum_i \mathit{Bcoeffs}[i] x_{\mathit{var}}^i with exponents packed into Abits bits, which must be large enough for the degree \mathit{Blen} - 1.

Cite this page

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