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

◆ cosh() [6/9]

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

Returns the elementwise cosh() of the input, which may be a scalar or any Stan container of numeric scalars.

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

Template Parameters
Containertype of container
Parameters
xangles in radians
Returns
Hyberbolic cosine of x.
Template Parameters
ContainerType of x
Parameters
xContainer
Returns
Hyberbolic cosine of x.

Definition at line 62 of file cosh.hpp.