FLINT3.7.0-dev

gr_series_ctx_init

Synopsis#include <flint/gr_series.h>
void gr_series_ctx_init(gr_ctx_t ctx, gr_ctx_t base_ring, slong prec)source

Initialises ctx as the ring R[[x]] of power series over base_ring. Elements have type gr_series_t. Each element carries its own error term O(x^m); the default precision prec is the order from which tails are replaced by an error term in the results of operations. The default precision can be changed (GR_SERIES_PREC), and elements can be shared between contexts with the same base ring and different precisions.

Guides#

Cite this page

The FLINT team, “gr_series_ctx_init (gr_series.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_series/gr_series_ctx_init.html (generated 2026-10-20).