abs
absolute value of a complex number
INTERFACE
#include <complex>
double abs(complex<T> z );
DESCRIPTION
The abs function returns the absolute value of the complex number $z = a + {\rm i} b$. The result is the real number denoted by $|z|$ and defined through:
$$|z| = \sqrt{a^2+b^2}$$
(1)
The function is actually an alias for hypot(a, b) = $\sqrt{a^2 + b^2}$.