FLINT3.7.0-dev

fq_zech_poly_factor_squarefree

Synopsis#include <flint/fq_zech_poly_factor.h>
void fq_zech_poly_factor_squarefree(fq_zech_poly_factor_t res, const fq_zech_poly_t f, const fq_zech_ctx_t ctx)

Sets res to a squarefree factorisation of f: pairwise coprime monic squarefree polynomials g_i with distinct exponents e_i such that f = c \prod g_i^{e_i}, where c is the leading coefficient of f. Previous contents of res are discarded; for f of length at most 1 the factorisation is empty.

Generated from the same template as fq_poly_factor_squarefree, whose documentation has the details.

Cite this page

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