FLINT3.7.0-dev

nmod_mpoly_content_vars

Synopsis#include <flint/nmod_mpoly.h>
int nmod_mpoly_content_vars(nmod_mpoly_t g, const nmod_mpoly_t A, slong * vars, slong vars_length, const nmod_mpoly_ctx_t ctx)source

Sets g to the GCD of the coefficients of A viewed as a polynomial in the vars_length variables vars[i] with coefficients in the other variables, and returns 1 for success. The result does not involve the variables in vars.

Cite this page

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