FLINT3.7.0-dev

gr_sinh, gr_cosh, gr_sinh_cosh, gr_tanh, gr_coth, gr_sech, gr_csch

Synopsis#include <flint/gr_special.h>
int gr_sinh(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source
int gr_cosh(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source
int gr_sinh_cosh(gr_ptr res1, gr_ptr res2, gr_srcptr x, gr_ctx_t ctx)source
int gr_tanh(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source
int gr_coth(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source
int gr_sech(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source
int gr_csch(gr_ptr res, gr_srcptr x, gr_ctx_t ctx)source

Set res to the hyperbolic functions \sinh x, \cosh x (both at once for gr_sinh_cosh), \tanh x, \coth x, \operatorname{sech} x and \operatorname{csch} x.

Cite this page

The FLINT team, “gr_sinh, gr_cosh, gr_sinh_cosh, gr_tanh, gr_coth, gr_sech, gr_csch (gr_special.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/gr_special/gr_sinh.html (generated 2026-10-20).