FLINT3.7.0-dev

fmpq_mpoly_div, fmpq_mpoly_divrem

Synopsis#include <flint/fmpq_mpoly.h>
void fmpq_mpoly_div(fmpq_mpoly_t Q, const fmpq_mpoly_t A, const fmpq_mpoly_t B, const fmpq_mpoly_ctx_t ctx)source
void fmpq_mpoly_divrem(fmpq_mpoly_t Q, fmpq_mpoly_t R, const fmpq_mpoly_t A, const fmpq_mpoly_t B, const fmpq_mpoly_ctx_t ctx)source

Set Q (and R) to the quotient (and remainder) of A by B, with A = QB + R and no term of R divisible by the leading monomial of B. They are computed with fmpz_mpoly_quasidiv and fmpz_mpoly_quasidivrem on the integer parts.

Cite this page

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