_gr_poly_write, gr_poly_write, _gr_poly_get_str, gr_poly_get_str, gr_poly_print
Synopsis
#include <flint/gr_poly.h>int _gr_poly_write(gr_stream_t out, gr_srcptr poly, slong len, const char * x, gr_ctx_t ctx)sourceint gr_poly_write(gr_stream_t out, const gr_poly_t poly, const char * x, gr_ctx_t ctx)sourceWrite the polynomial as an expression in the variable named x, in increasing order of degree with zero terms omitted, to a stream, to a newly allocated string *res (to be freed with flint_free), or to standard output with the variable x.
Guides#
Cite this page
The FLINT team, “_gr_poly_write, gr_poly_write, _gr_poly_get_str, gr_poly_get_str, gr_poly_print (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/_gr_poly_write.html (generated 2026-10-20).
@misc{flint-doc-gr-poly-gr-poly-write,
author = {{The FLINT team}},
title = {{\_gr\_poly\_write, gr\_poly\_write, \_gr\_poly\_get\_str, gr\_poly\_get\_str, gr\_poly\_print (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_poly_write.html},
note = {Generated 2026-10-20}
}