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

◆ cos() [5/9]

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

Return the cosine of the arithmetic argument.

Return the cosine of the complex argument.

Template Parameters
TAn arithmetic argument
Parameters
[in]xargument
Returns
cosine of the argument
Template Parameters
Tcomplex<Arithmetic> argument
Parameters
[in]xargument
Returns
cosine of the argument

Definition at line 24 of file cos.hpp.