FLINT3.7.0-dev

fmpz_mpoly_get_bpoly, fmpz_mpoly_set_fmpz_bpoly

Synopsis#include <flint/fmpz_mpoly_factor.h>
void fmpz_mpoly_get_bpoly(fmpz_bpoly_t A, const fmpz_mpoly_t B, slong var0, slong var1, const fmpz_mpoly_ctx_t ctx)source
void fmpz_mpoly_set_fmpz_bpoly(fmpz_mpoly_t A, flint_bitcnt_t Abits, const fmpz_bpoly_t B, slong var0, slong var1, const fmpz_mpoly_ctx_t ctx)source

Convert between a multivariate polynomial in the variables of index var0 (for x) and var1 (for y) and a dense bivariate polynomial. The first requires single-word exponents and ignores the exponents of the other variables; the second packs the result into Abits bits.

Cite this page

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