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 and \cosh h truncated to length n.

The basecase version uses the coupled recurrences that follow from s' = h'c and c' = h's, with O(n \cdot \mathit{hlen}) operations. The exponential version computes e^h and e^{-h} (one exponential and one inversion) and takes half their sum and difference. The default uses the basecase version for \mathit{hlen} below 400 (for \mathit{prec} \le 128) or 30000 / (\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-10-20).