FLINT3.7.0-dev

_arb_poly_set_length

Synopsis#include <flint/arb_poly.h>
void _arb_poly_set_length(arb_poly_t poly, slong len)source

Sets the length of poly to len, which must not exceed the allocation. If the length decreases, the coefficients from len up to the old length are set to zero, so that unused coefficients are always zero.

Cite this page

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