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

◆ cos() [8/9]

template<typename VarMat , require_var_matrix_t< VarMat > * = nullptr>
auto stan::math::cos ( const VarMat &  a)
inline

Return the cosine of a radian-scaled variable (cmath).

Template Parameters
Varmata var_value with inner Eigen type
Parameters
aVariable for radians of angle.
Returns
Cosine of variable.

Definition at line 58 of file cos.hpp.