Template Function TRAP::Math::CosH(T)#

Function Documentation#

template<typename T>
constexpr T TRAP::Math::CosH(T x)#

Retrieve the hyperbolic cosine of the parameter.

Parameters:

x – Specify the value whose hyperbolic cosine to return.

Returns:

Hyperbolic cosine function, (Exp(x) + Exp(-x)) / 2.