_gr_get_gr_poly, _gr_get_gr_poly_destructive
Synopsis
#include <flint/gr_poly.h>int _gr_get_gr_poly_destructive(gr_ptr c, slong * len, gr_ptr x, gr_ctx_t base_ctx, gr_ctx_t tctx)sourceWrite the coefficients of the polynomial represented by x to c and its length to *len; c must have room for the length bound of tctx. The destructive version may run the inverse transform in the storage of x, saving a copy, after which x may only be cleared or overwritten as the destination of an assignment or a product; it falls back to the copying conversion when the ring does not provide it.
Cite this page
The FLINT team, “_gr_get_gr_poly, _gr_get_gr_poly_destructive (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/_gr_get_gr_poly.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-get-gr-poly,
author = {{The FLINT team}},
title = {{\_gr\_get\_gr\_poly, \_gr\_get\_gr\_poly\_destructive (gr\_poly.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_poly/_gr_get_gr_poly.html},
note = {Generated 2026-10-20}
}