Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Returns the elementwise cos()
of the input, which may be a scalar or any Stan container of numeric scalars.
Version of cos()
that accepts std::vectors, Eigen Matrix/Array objects or expressions, and containers of these.
Container | type of container |
x | angles in radians |
Container | Type of x |
x | Container |