FLINT3.7.0-dev

fmpq_mpoly_content_vars

Synopsis#include <flint/fmpq_mpoly.h>
int fmpq_mpoly_content_vars(fmpq_mpoly_t g, const fmpq_mpoly_t A, slong * vars, slong vars_length, const fmpq_mpoly_ctx_t ctx)source

Sets g to the GCD of the coefficients of A viewed as a polynomial in the variables vars, so that g does not involve these variables. Returns 1 for success and 0 for failure.

Cite this page

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