FLINT3.7.0-dev

_ca_poly_set_length

Synopsis#include <flint/ca_poly.h>
void _ca_poly_set_length(ca_poly_t poly, slong len, ca_ctx_t ctx)source

Sets the length of poly to len, which must not exceed the allocation. Coefficients beyond the new length are set to zero; nothing is normalised.

Cite this page

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