FLINT3.7.0-dev

fmpq_poly_init2

Synopsis#include <flint/fmpq_poly.h>
void fmpq_poly_init2(fmpq_poly_t poly, slong alloc)source

Initialises the polynomial with space for at least alloc coefficients and sets the length to zero. The alloc coefficients are all set to zero.

Cite this page

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