FLINT3.7.0-dev

fmpz_mod_poly_deflation

Synopsis#include <flint/fmpz_mod_poly.h>
ulong fmpz_mod_poly_deflation(const fmpz_mod_poly_t input, const fmpz_mod_ctx_t ctx)source

Returns the largest m such that input is a polynomial in x^m, that is, the gcd of the exponents of its nonzero terms; 0 for the zero polynomial and 1 for a nonzero constant.

Cite this page

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