gr_series_zero, gr_series_one, gr_series_gen, gr_series_set, gr_series_set_gr_poly, gr_series_set_scalar, gr_series_set_si, gr_series_set_ui, gr_series_set_fmpz, gr_series_set_fmpq, gr_series_set_other
#include <flint/gr_series.h>int gr_series_zero(gr_series_t res, gr_ctx_t ctx)sourceint gr_series_one(gr_series_t res, gr_ctx_t ctx)sourceint gr_series_gen(gr_series_t res, gr_ctx_t ctx)sourceint gr_series_set(gr_series_t res, const gr_series_t x, gr_ctx_t ctx)sourceint gr_series_set_gr_poly(gr_series_t res, const gr_poly_t x, gr_ctx_t ctx)sourceint gr_series_set_scalar(gr_series_t res, gr_srcptr x, gr_ctx_t ctx)sourceint gr_series_set_si(gr_series_t res, slong c, gr_ctx_t ctx)sourceint gr_series_set_ui(gr_series_t res, ulong c, gr_ctx_t ctx)sourceint gr_series_set_fmpz(gr_series_t res, const fmpz_t c, gr_ctx_t ctx)sourceint gr_series_set_fmpq(gr_series_t res, const fmpq_t c, gr_ctx_t ctx)sourceint gr_series_set_other(gr_series_t res, gr_srcptr x, gr_ctx_t x_ctx, gr_ctx_t ctx)sourceAssignment of exact values (a polynomial longer than the default precision is truncated and given an error term), of the generator, and of copies. gr_series_set_other converts elements of the base ring, polynomials and power series over other rings in a variable of the same name (keeping their error terms), and anything else that converts into the base ring, as a constant.
The FLINT team, “gr_series_zero, gr_series_one, gr_series_gen, gr_series_set, gr_series_set_gr_poly, gr_series_set_scalar, gr_series_set_si, gr_series_set_ui, gr_series_set_fmpz, gr_series_set_fmpq, gr_series_set_other (gr_series.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_series/gr_series_zero.html (generated 2026-10-20).
@misc{flint-doc-gr-series-gr-series-zero,
author = {{The FLINT team}},
title = {{gr\_series\_zero, gr\_series\_one, gr\_series\_gen, gr\_series\_set, gr\_series\_set\_gr\_poly, gr\_series\_set\_scalar, gr\_series\_set\_si, gr\_series\_set\_ui, gr\_series\_set\_fmpz, gr\_series\_set\_fmpq, gr\_series\_set\_other (gr\_series.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/gr_series/gr_series_zero.html},
note = {Generated 2026-10-20}
}