fq_poly_factor_distinct_deg
Synopsis
#include <flint/fq_poly_factor.h>void fq_poly_factor_distinct_deg(fq_poly_factor_t res, const fq_poly_t poly, slong * const * degs, const fq_ctx_t ctx)Distinct-degree factorisation of the squarefree polynomial poly: appends to res, with exponent 1, polynomials g_1, g_2, \ldots such that \operatorname{monic}(\mathit{poly}) = \prod g_i and each g_i is the product of all irreducible factors of degree d_i, and writes the degrees d_i to (*degs)[0], (*degs)[1], .... The caller must provide room for \deg(\mathit{poly}) entries in *degs. The result is undefined if poly is not squarefree. This is a wrapper of gr_poly_factor_distinct_deg.
Cite this page
The FLINT team, “fq_poly_factor_distinct_deg (fq_poly_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_poly_factor/fq_poly_factor_distinct_deg.html (generated 2026-10-20).
@misc{flint-doc-fq-poly-factor-fq-poly-factor-distinct-deg,
author = {{The FLINT team}},
title = {{fq\_poly\_factor\_distinct\_deg (fq\_poly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_poly_factor/fq_poly_factor_distinct_deg.html},
note = {Generated 2026-10-20}
}