fmpz_mod_poly_factor_squarefree
Synopsis
#include <flint/fmpz_mod_poly_factor.h>void fmpz_mod_poly_factor_squarefree(fmpz_mod_poly_factor_t res, const fmpz_mod_poly_t f, const fmpz_mod_ctx_t ctx)sourceSets res to the squarefree factorisation of f: monic squarefree polynomials g_i, pairwise coprime and with distinct exponents e_i, such that f = c \prod_i g_i^{e_i} with c the leading coefficient of f. A constant f gives the empty factorisation. This is gr_poly_factor_squarefree; see Squarefree factorisation.
Cite this page
The FLINT team, “fmpz_mod_poly_factor_squarefree (fmpz_mod_poly_factor.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_mod_poly_factor/fmpz_mod_poly_factor_squarefree.html (generated 2026-10-20).
@misc{flint-doc-fmpz-mod-poly-factor-fmpz-mod-poly-factor-squarefree,
author = {{The FLINT team}},
title = {{fmpz\_mod\_poly\_factor\_squarefree (fmpz\_mod\_poly\_factor.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_mod_poly_factor/fmpz_mod_poly_factor_squarefree.html},
note = {Generated 2026-10-20}
}