FLINT3.7.0-dev

_fq_poly_set_length

Synopsis#include <flint/fq_poly.h>
void _fq_poly_set_length(fq_poly_t poly, slong len, const fq_ctx_t ctx)

Sets the length of poly to len, setting the coefficients from index len up to the old length to zero. Does not normalise. poly must have space for len coefficients.

Cite this page

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