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

◆ fabs() [6/8]

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

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

Template Parameters
ContainerType of x
Parameters
xContainer
Returns
Absolute value of each value in x.

Definition at line 65 of file fabs.hpp.