FLINT3.7.0-dev

fmpq_mpoly_reduce

Synopsis#include <flint/fmpq_mpoly.h>
void fmpq_mpoly_reduce(fmpq_mpoly_t A, const fmpq_mpoly_ctx_t ctx)source

Moves the content and sign of the integer part into the content, so that the integer part is primitive with positive leading coefficient. If the terms of AA are nonzero, sorted and have distinct exponents, the result is canonical.

Cite this page

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