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

◆ abs() [4/7]

template<typename T , require_complex_bt< std::is_arithmetic, T > * = nullptr>
auto stan::math::abs ( x)
inline

Return the absolute value (also known as the norm, modulus, or magnitude) of the specified complex argument.

Template Parameters
Ttype of argument (must be complex)
Parameters
xargument
Returns
absolute value of argument (a real number)

Definition at line 38 of file abs.hpp.