FLINT3.7.0-dev

fq_nmod_poly_deflate, fq_nmod_poly_inflate

Synopsis#include <flint/fq_nmod_poly.h>
void fq_nmod_poly_deflate(fq_nmod_poly_t result, const fq_nmod_poly_t input, ulong deflation, const fq_nmod_ctx_t ctx)
void fq_nmod_poly_inflate(fq_nmod_poly_t result, const fq_nmod_poly_t input, ulong inflation, const fq_nmod_ctx_t ctx)

fq_nmod_poly_deflate sets result to g with g(x^k) = f for the polynomial f = input and k = deflation, which must divide the exponents of all nonzero terms of f; it throws FLINT_DIVZERO for k = 0. fq_nmod_poly_inflate sets result to f(x^k) for k = inflation.

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

Cite this page

The FLINT team, “fq_nmod_poly_deflate, fq_nmod_poly_inflate (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_deflate.html (generated 2026-10-20).