Template Function librapid::tanh(T)#
Defined in File coreMath.hpp
Function Documentation#
-
template<typename T>
constexpr auto librapid::tanh(T val)# Return the hyperbolic tangent 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 tangent of the input value