Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ tanh() [5/9]

template<typename T , require_arithmetic_t< T > * = nullptr>
auto stan::math::tanh ( const T  x)
inline

Return the hyperbolic tangent of the arithmetic argument.

Return the hyperbolic tangent of the complex argument.

Template Parameters
VArithmetic argument
Parameters
[in]xargument
Returns
hyperbolic tangent of the argument
Template Parameters
Vcomplex<Arithmetic> argument
Parameters
[in]xargument
Returns
hyperbolic tangent of the argument

Definition at line 24 of file tanh.hpp.