FLINT3.7.0-dev

fmpz_mpoly_from_univar, _fmpz_mpoly_from_univar

Synopsis#include <flint/fmpz_mpoly.h>
void fmpz_mpoly_from_univar(fmpz_mpoly_t A, const fmpz_mpoly_univar_t B, slong var, const fmpz_mpoly_ctx_t ctx)source
void _fmpz_mpoly_from_univar(fmpz_mpoly_t A, flint_bitcnt_t Abits, const fmpz_mpoly_univar_t B, slong var, const fmpz_mpoly_ctx_t ctx)source

Set A to the polynomial \sum_i B_i x_{\mathit{var}}^{e_i}. The coefficients of B must not involve the variable var. The underscore version packs the result into Abits bits, which must suffice.

Cite this page

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