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

◆ acos() [6/9]

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

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

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

Template Parameters
Containertype of container
Parameters
xargument
Returns
Arc cosine of each variable in the container, in radians.
Template Parameters
ContainerType of x
Parameters
xargument
Returns
Arc cosine of each variable in the container, in radians.

Definition at line 68 of file acos.hpp.