FLINT3.7.0-dev

fmpz_poly_factor_van_hoeij

Synopsis#include <flint/fmpz_poly_factor.h>
void fmpz_poly_factor_van_hoeij(fmpz_poly_factor_t final_fac, const nmod_poly_factor_t fac, const fmpz_poly_t f, slong exp, ulong p)source

Appends the irreducible factors of the squarefree primitive f, each with multiplicity exp, to final_fac, given its factorisation fac into r \ge 2 monic irreducible factors modulo the prime p, by van Hoeij's knapsack algorithm with gradual feeding of CLD data [vHo2002], [HvHN2011]. The modular factors are lifted to an initial precision, a lattice is reduced with LLL after each new column of CLD data, and the precision is doubled until a 0-1 basis of the recombination lattice is found and verified.

References#

Cite this page

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