gr_write, gr_print, gr_println, gr_get_str
Synopsis
#include <flint/gr.h>int gr_write(gr_stream_t out, gr_srcptr x, gr_ctx_t ctx)sourceWrite x to a stream, print it to standard output (with a newline for gr_println), or set *s to a newly allocated string that must be freed with flint_free.
Guides#
- Using ca (
ca) - Decimal ball arithmetic (
decimal) - Getting started with decimal arithmetic (
decimal) - Getting started with finite fields (
fq_default) - Getting started with generic rings
- Linear algebra over general and inexact rings (
gr_mat) - Getting started with multivariate polynomials (
gr_mpoly) - Working with power series rings (
gr_series) - Using mpn_mod (
mpn_mod) - Getting started with nfloat (
nfloat) - Getting started with padic_radix (
padic_radix)
Cite this page
The FLINT team, “gr_write, gr_print, gr_println, gr_get_str (gr.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr/gr_write.html (generated 2026-10-20).
@misc{flint-doc-gr-gr-write,
author = {{The FLINT team}},
title = {{gr\_write, gr\_print, gr\_println, gr\_get\_str (gr.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr/gr_write.html},
note = {Generated 2026-10-20}
}