fmpz_mpoly_content_vars
Synopsis
#include <flint/fmpz_mpoly.h>int fmpz_mpoly_content_vars(fmpz_mpoly_t g, const fmpz_mpoly_t A, slong * vars, slong vars_length, const fmpz_mpoly_ctx_t ctx)sourceSets g to the GCD of the coefficients of A viewed as a polynomial in the variables listed in vars (with coefficients in \mathbb{Z} and the other variables), and returns 1, or returns 0 if a GCD computation failed. On success g does not involve the variables vars. Throws if a variable index is out of range. With no variables, g = A.
Cite this page
The FLINT team, “fmpz_mpoly_content_vars (fmpz_mpoly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_content_vars.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mpoly-fmpz-mpoly-content-vars,
author = {{The FLINT team}},
title = {{fmpz\_mpoly\_content\_vars (fmpz\_mpoly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mpoly/fmpz_mpoly_content_vars.html},
note = {Generated 2026-10-20}
}