FLINT3.7.0-dev

fmpq_mpoly_factor_make_monic, fmpq_mpoly_factor_make_integral

Synopsis#include <flint/fmpq_mpoly_factor.h>
int fmpq_mpoly_factor_make_monic(fmpq_mpoly_factor_t f, const fmpq_mpoly_ctx_t ctx)source
int fmpq_mpoly_factor_make_integral(fmpq_mpoly_factor_t f, const fmpq_mpoly_ctx_t ctx)source

Rescale the bases and adjust the constant so that the product is unchanged: make_monic makes every base monic (leading coefficient 1 in the monomial ordering), and make_integral moves the rational content of every base into the constant, leaving the integer part (primitive, with positive leading coefficient). Return 0 if a base is zero or a power of a content cannot be computed, and 1 otherwise.

Cite this page

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