FLINT3.7.0-dev

_acb_poly_sinh_cosh_series_basecase, acb_poly_sinh_cosh_series_basecase, _acb_poly_sinh_cosh_series_exponential, acb_poly_sinh_cosh_series_exponential, _acb_poly_sinh_cosh_series, acb_poly_sinh_cosh_series, _acb_poly_sinh_series, acb_poly_sinh_series, _acb_poly_cosh_series, acb_poly_cosh_series

Synopsis#include <flint/acb_poly.h>
void _acb_poly_sinh_cosh_series_basecase(acb_ptr s, acb_ptr c, acb_srcptr h, slong hlen, slong n, slong prec)source
void acb_poly_sinh_cosh_series_basecase(acb_poly_t s, acb_poly_t c, const acb_poly_t h, slong n, slong prec)source
void _acb_poly_sinh_cosh_series_exponential(acb_ptr s, acb_ptr c, acb_srcptr h, slong hlen, slong n, slong prec)source
void acb_poly_sinh_cosh_series_exponential(acb_poly_t s, acb_poly_t c, const acb_poly_t h, slong n, slong prec)source
void _acb_poly_sinh_cosh_series(acb_ptr s, acb_ptr c, acb_srcptr h, slong hlen, slong n, slong prec)source
void acb_poly_sinh_cosh_series(acb_poly_t s, acb_poly_t c, const acb_poly_t h, slong n, slong prec)source
void _acb_poly_sinh_series(acb_ptr s, acb_srcptr h, slong hlen, slong n, slong prec)source
void acb_poly_sinh_series(acb_poly_t s, const acb_poly_t h, slong n, slong prec)source
void _acb_poly_cosh_series(acb_ptr c, acb_srcptr h, slong hlen, slong n, slong prec)source
void acb_poly_cosh_series(acb_poly_t c, const acb_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, “_acb_poly_sinh_cosh_series_basecase, acb_poly_sinh_cosh_series_basecase, _acb_poly_sinh_cosh_series_exponential, acb_poly_sinh_cosh_series_exponential, _acb_poly_sinh_cosh_series, acb_poly_sinh_cosh_series, _acb_poly_sinh_series, acb_poly_sinh_series, _acb_poly_cosh_series, acb_poly_cosh_series (acb_poly.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/acb_poly/_acb_poly_sinh_cosh_series_basecase.html (generated 2026-11-02).