gr_poly_deflation, gr_poly_deflate
Synopsis
#include <flint/gr_poly.h>gr_poly_deflation returns the largest m such that f = g(x^m) for a polynomial g: 0 for f = 0, 1 for a nonzero constant, and n for a monomial c x^n with n \ge 1. A coefficient that is not provably zero counts as nonzero, so the value is always valid but need not be maximal over inexact rings. gr_poly_deflate sets res to g given m \ge 1 (GR_DOMAIN for m = 0); f is assumed to have this form.
Cite this page
The FLINT team, “gr_poly_deflation, gr_poly_deflate (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/gr_poly_deflation.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-poly-deflation,
author = {{The FLINT team}},
title = {{gr\_poly\_deflation, gr\_poly\_deflate (gr\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_poly/gr_poly_deflation.html},
note = {Generated 2026-10-20}
}