FLINT3.7.0-dev

nmod_poly_deflation

Synopsis#include <flint/nmod_poly.h>
slong nmod_poly_deflation(const nmod_poly_t input)source

Returns the largest k such that input is a polynomial in x^k, that is, the GCD of the exponents of its nonzero terms. Returns 0 for the zero polynomial and 1 for constants.

Cite this page

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