FLINT3.7.0-dev

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)source

Sets 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).