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

◆ tan() [6/9]

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

Vectorized version of tan().

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

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

Definition at line 62 of file tan.hpp.