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

◆ abs() [3/8]

template<typename T , require_arithmetic_t< T > * = nullptr>
T stan::math::abs ( x)
inline

Return the absolute value of the specified arithmetic argument.

The return type is the same as the argument type.

Template Parameters
Ttype of argument (must be arithmetic)
Parameters
xargument
Returns
absolute value of argument

Definition at line 25 of file abs.hpp.