FLINT3.7.0-dev

_gr_poly_integral, gr_poly_integral

Synopsis#include <flint/gr_poly.h>
int _gr_poly_integral(gr_ptr res, gr_srcptr poly, slong len, gr_ctx_t ctx)source
int gr_poly_integral(gr_poly_t res, const gr_poly_t poly, gr_ctx_t ctx)source

Sets res to the integral ∫0xf(t) dt\int_0^x f(t)\,dt, whose coefficient of xi+1x^{i+1} is fi/(i+1)f_i / (i + 1), computed with gr_div_ui; the divisions must be possible in RR (GR_DOMAIN or GR_UNABLE otherwise, for example over Z\mathbb{Z} or in small characteristic). The underscore version reads len−1\mathit{len} - 1 coefficients of poly, writes len coefficients and allows aliasing.

Cite this page

The FLINT team, “_gr_poly_integral, gr_poly_integral (gr_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_poly/_gr_poly_integral.html (generated 2026-11-02).