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 \int_0^x f(t)\,dt, whose coefficient of x^{i+1} is f_i / (i + 1), computed with gr_div_ui; the divisions must be possible in R (GR_DOMAIN or GR_UNABLE otherwise, for example over \mathbb{Z} or in small characteristic). The underscore version reads \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-10-20).