fmpz_poly_init, fmpz_poly_init2
Synopsis
#include <flint/fmpz_poly.h>void fmpz_poly_init(fmpz_poly_t poly)sourcevoid fmpz_poly_init2(fmpz_poly_t poly, slong alloc)sourceInitialise poly as the zero polynomial. fmpz_poly_init allocates nothing; fmpz_poly_init2 allocates alloc coefficients, all zero. A polynomial must be cleared with fmpz_poly_clear after use.
Guides#
Cite this page
The FLINT team, “fmpz_poly_init, fmpz_poly_init2 (fmpz_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fmpz_poly/fmpz_poly_init.html (generated 2026-10-20).
@misc{flint-doc-fmpz-poly-fmpz-poly-init,
author = {{The FLINT team}},
title = {{fmpz\_poly\_init, fmpz\_poly\_init2 (fmpz\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fmpz_poly/fmpz_poly_init.html},
note = {Generated 2026-10-20}
}