FLINT3.7.0-dev

_arb_poly_sinh_cosh_series_basecase, arb_poly_sinh_cosh_series_basecase, _arb_poly_sinh_cosh_series_exponential, arb_poly_sinh_cosh_series_exponential, _arb_poly_sinh_cosh_series, arb_poly_sinh_cosh_series, _arb_poly_sinh_series, arb_poly_sinh_series, _arb_poly_cosh_series, arb_poly_cosh_series

Synopsis#include <flint/arb_poly.h>
void _arb_poly_sinh_cosh_series_basecase(arb_ptr s, arb_ptr c, arb_srcptr h, slong hlen, slong n, slong prec)source
void arb_poly_sinh_cosh_series_basecase(arb_poly_t s, arb_poly_t c, const arb_poly_t h, slong n, slong prec)source
void _arb_poly_sinh_cosh_series_exponential(arb_ptr s, arb_ptr c, arb_srcptr h, slong hlen, slong n, slong prec)source
void arb_poly_sinh_cosh_series_exponential(arb_poly_t s, arb_poly_t c, const arb_poly_t h, slong n, slong prec)source
void _arb_poly_sinh_cosh_series(arb_ptr s, arb_ptr c, arb_srcptr h, slong hlen, slong n, slong prec)source
void arb_poly_sinh_cosh_series(arb_poly_t s, arb_poly_t c, const arb_poly_t h, slong n, slong prec)source
void _arb_poly_sinh_series(arb_ptr s, arb_srcptr h, slong hlen, slong n, slong prec)source
void arb_poly_sinh_series(arb_poly_t s, const arb_poly_t h, slong n, slong prec)source
void _arb_poly_cosh_series(arb_ptr c, arb_srcptr h, slong hlen, slong n, slong prec)source
void arb_poly_cosh_series(arb_poly_t c, const arb_poly_t h, slong n, slong prec)source

Set s and/or c to sinh⁡h\sinh h and cosh⁡h\cosh h truncated to length n.

The basecase version uses the coupled recurrences that follow from s′=h′cs' = h'c and c′=h′sc' = h's, with O(n⋅hlen)O(n \cdot \mathit{hlen}) operations. The exponential version computes ehe^h and e−he^{-h} (one exponential and one inversion) and takes half their sum and difference. The default uses the basecase version for hlen\mathit{hlen} below 400 (for prec≤128\mathit{prec} \le 128) or 30000/(ln⁡prec)330000 / (\ln \mathit{prec})^3.

Cite this page

The FLINT team, “_arb_poly_sinh_cosh_series_basecase, arb_poly_sinh_cosh_series_basecase, _arb_poly_sinh_cosh_series_exponential, arb_poly_sinh_cosh_series_exponential, _arb_poly_sinh_cosh_series, arb_poly_sinh_cosh_series, _arb_poly_sinh_series, arb_poly_sinh_series, _arb_poly_cosh_series, arb_poly_cosh_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_sinh_cosh_series_basecase.html (generated 2026-11-02).