Skip to content

Function cosh

function cosh(const T1 &) math

template <numeric T1>
KFR_FUNCTION flt_type<T1> cosh(const T1& x)

Returns the hyperbolic cosine of x.

Computes (exp(x) + exp(-x)) / 2 element-wise.

Parameters
x Input value or SIMD vector of values.
Returns
Hyperbolic cosine of x, with the floating-point type derived from the input.

Fully qualified name: kfr::cosh(const T1 &)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.