FLINT3.7.0-dev

_arb_poly_exp_series_basecase, arb_poly_exp_series_basecase, _arb_poly_exp_series, arb_poly_exp_series

Synopsis#include <flint/arb_poly.h>
void _arb_poly_exp_series_basecase(arb_ptr f, arb_srcptr h, slong hlen, slong n, slong prec)source
void arb_poly_exp_series_basecase(arb_poly_t f, const arb_poly_t h, slong n, slong prec)source
void _arb_poly_exp_series(arb_ptr f, arb_srcptr h, slong hlen, slong n, slong prec)source
void arb_poly_exp_series(arb_poly_t f, const arb_poly_t h, slong n, slong prec)source

Set f to \exp h truncated to length n. The underscore versions allow aliasing.

The basecase version uses the recurrence k f_k = \sum_{j=1}^{k} j h_j f_{k-j} (from f' = h' f) with O(n \cdot \mathit{hlen}) operations; for long dense input at high precision it first splits off the high part of h to save operations. The default handles h = a + bx^d directly, uses the basecase version if \mathit{hlen} is at most 750 (for \mathit{prec} \le 256) or 10^5 / (\ln \mathit{prec})^3, and otherwise the Newton iteration of [HZ2004] that updates \exp(h) and \exp(-h) together, at a cost of O(M(n)).

Guides#

References#

Cite this page

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