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

◆ cos() [6/9]

template<typename Container , require_container_st< std::is_arithmetic, Container > * = nullptr>
auto stan::math::cos ( const Container &  x)
inline

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

Template Parameters
ContainerType of x
Parameters
xContainer
Returns
Cosine of each value in x.

Definition at line 58 of file cos.hpp.