FLINT3.7.0-dev

fq_nmod_poly_deflation

Synopsis#include <flint/fq_nmod_poly.h>
ulong fq_nmod_poly_deflation(const fq_nmod_poly_t input, const fq_nmod_ctx_t ctx)

Returns the largest k such that input is a polynomial in x^k. For a polynomial of length at most 1 the result is its length.

Generated from the same template as fq_poly_deflation, whose documentation has the details.

Cite this page

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