Template Function librapid::cosh(T)#
Defined in File coreMath.hpp
Function Documentation#
-
template<typename T, typename std::enable_if_t<std::is_fundamental_v<T>, int> = 0>
constexpr auto librapid::cosh(T val)# Return the hyperbolic cosine of a given value. Note that, for integer values, this function will cast the input value to a floating point type before computing the result.
- Template Parameters
T – Data type
- Parameters
val – Input value
- Returns
Hyperbolic cosine of the input value