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

◆ atan() [6/9]

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

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

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

Template Parameters
Containertype of container
Parameters
xcontainer
Returns
Arctan of each value in x, in radians.
Template Parameters
ContainerType of x
Parameters
xContainer
Returns
Elementwise atan of members of container.

Definition at line 64 of file atan.hpp.