FLINT3.7.0-dev

fmpq_mpoly_from_univar, fmpq_mpoly_from_univar_bits

Synopsis#include <flint/fmpq_mpoly.h>
void fmpq_mpoly_from_univar(fmpq_mpoly_t A, const fmpq_mpoly_univar_t B, slong var, const fmpq_mpoly_ctx_t ctx)source
void fmpq_mpoly_from_univar_bits(fmpq_mpoly_t A, flint_bitcnt_t Abits, const fmpq_mpoly_univar_t B, slong var, const fmpq_mpoly_ctx_t ctx)source

Set AA to the polynomial represented by BB, with the variable of index var as main variable. The coefficients of BB must not involve that variable. The second version packs the result into Abits bits, which must suffice.

Cite this page

The FLINT team, “fmpq_mpoly_from_univar, fmpq_mpoly_from_univar_bits (fmpq_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_mpoly/fmpq_mpoly_from_univar.html (generated 2026-11-02).