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

◆ abs() [5/8]

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

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

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

Definition at line 69 of file abs.hpp.