_fmpq_mpoly_rescale
Synopsis
#include <flint/fmpq_mpoly.h>int _fmpq_mpoly_rescale(fmpq_t Acontent, fmpz * Acoeff, const fmpq_mpoly_t B, const fmpq * scales, const fmpq_mpoly_ctx_t ctx)sourceWrites , for the rationals in scales, as Acontent times the integer coefficients Acoeff on the monomials of , by clearing the denominators with the maximal exponent of and taking out with the minimal exponent. Returns 0 if the powers would be too large. Used by the composition functions.
Cite this page
The FLINT team, “_fmpq_mpoly_rescale (fmpq_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpq_mpoly/_fmpq_mpoly_rescale.html (generated 2026-11-02).
@misc{flint-doc-fmpq-mpoly-fmpq-mpoly-rescale,
author = {{The FLINT team}},
title = {{\_fmpq\_mpoly\_rescale (fmpq\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpq_mpoly/_fmpq_mpoly_rescale.html},
note = {Generated 2026-11-02}
}