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

◆ abs() [6/8]

template<typename Container , require_container_st< std::is_arithmetic, Container > * = nullptr>
auto stan::math::abs ( const Container &  x)
inline

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

Template Parameters
ContainerType of x
Parameters
xargument
Returns
Absolute value of each variable in the container.

Definition at line 83 of file abs.hpp.