Template Function TRAP::Math::CosH(Vec<L, T>)#

Function Documentation#

template<u32 L, typename T>
constexpr Vec<L, T> TRAP::Math::CosH(Vec<L, T> v)#

Retrieve the hyperbolic cosine of the parameter.

Parameters:

v – Specify the value whose hyperbolic cosine to return.

Returns:

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