FLINT3.7.0-dev

fmpz_poly_factor_insert

Synopsis#include <flint/fmpz_poly_factor.h>
void fmpz_poly_factor_insert(fmpz_poly_factor_t fac, const fmpz_poly_t p, slong e)source

Multiplies the factorisation by p^e: if p is equal to one of the stored factors, its multiplicity is increased by e, otherwise p is appended with multiplicity e. The content is not changed. Meant for primitive p of positive degree and e \ne 0, which is not checked.

Cite this page

The FLINT team, “fmpz_poly_factor_insert (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_insert.html (generated 2026-10-20).