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 QQ (and RR) to the quotient (and remainder) of AA by BB, with A=QB+RA = QB + R and no term of RR divisible by the leading monomial of BB. 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-11-02).