FLINT3.7.0-dev

_acb_poly_set_length

Synopsis#include <flint/acb_poly.h>
void _acb_poly_set_length(acb_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, “_acb_poly_set_length (acb_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_poly/_acb_poly_set_length.html (generated 2026-10-20).