FLINT3.7.0-dev

fmpz_poly_squarefree_part

Synopsis#include <flint/fmpz_poly.h>
void fmpz_poly_squarefree_part(fmpz_poly_t res, const fmpz_poly_t poly)source

Sets res to f / \gcd(f, f') for f = poly, with positive leading coefficient: the product of the distinct irreducible factors of positive degree of f, times a constant. The squarefree part of a nonzero constant is 1 and that of zero is zero.

Cite this page

The FLINT team, “fmpz_poly_squarefree_part (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/fmpz_poly_squarefree_part.html (generated 2026-10-20).