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)sourceint fmpq_mpoly_factor_make_integral(fmpq_mpoly_factor_t f, const fmpq_mpoly_ctx_t ctx)sourceRescale 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).
@misc{flint-doc-fmpq-mpoly-factor-fmpq-mpoly-factor-make-monic,
author = {{The FLINT team}},
title = {{fmpq\_mpoly\_factor\_make\_monic, fmpq\_mpoly\_factor\_make\_integral (fmpq\_mpoly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_mpoly_factor/fmpq_mpoly_factor_make_monic.html},
note = {Generated 2026-10-20}
}