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

◆ tanh() [6/9]

template<typename Container , require_ad_container_t< Container > * = nullptr>
auto stan::math::tanh ( const Container &  x)
inline

Vectorized version of tanh().

Version of tanh() that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.

Template Parameters
Containertype of container
Parameters
xangles in radians
Returns
Hyperbolic tangent of each value in x.
Template Parameters
ContainerType of x
Parameters
xContainer
Returns
Hyperbolic tangent of each value in x.

Definition at line 62 of file tanh.hpp.