FLINT3.7.0-dev

fmpz_mpoly_is_gen

Synopsis#include <flint/fmpz_mpoly.h>
int fmpz_mpoly_is_gen(const fmpz_mpoly_t poly, slong k, const fmpz_mpoly_ctx_t ctx)source

Returns whether poly is the variable of index k, or, if k is negative, whether it is any variable.

Cite this page

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