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 gig_i, pairwise coprime and with distinct exponents eie_i, such that f=c∏igieif = c \prod_i g_i^{e_i} with cc the leading coefficient of ff. 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-11-02).