FLINT3.7.0-dev

fmpz_poly_factor_realloc

Synopsis#include <flint/fmpz_poly_factor.h>
void fmpz_poly_factor_realloc(fmpz_poly_factor_t fac, slong alloc)source

Changes the allocated space to exactly alloc factors; for alloc = 0 the structure is cleared and reinitialised. The number of factors is not adjusted, so alloc should be at least fac->num.

Cite this page

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