fq_default_poly_realloc, fq_default_poly_fit_length
Synopsis
#include <flint/fq_default_poly.h>void fq_default_poly_realloc(fq_default_poly_t poly, slong alloc, const fq_default_ctx_t ctx)sourcevoid fq_default_poly_fit_length(fq_default_poly_t poly, slong len, const fq_default_ctx_t ctx)sourceChange the allocation to alloc coefficients (truncating if needed), respectively ensure room for at least len coefficients.
Cite this page
The FLINT team, “fq_default_poly_realloc, fq_default_poly_fit_length (fq_default_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/fq_default_poly/fq_default_poly_realloc.html (generated 2026-10-20).
@misc{flint-doc-fq-default-poly-fq-default-poly-realloc,
author = {{The FLINT team}},
title = {{fq\_default\_poly\_realloc, fq\_default\_poly\_fit\_length (fq\_default\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/fq_default_poly/fq_default_poly_realloc.html},
note = {Generated 2026-10-20}
}