complex (1) | template<class T> T norm (const complex<T>& x); |
---|
complex (1) | template<class T> T norm (const complex<T>& x); |
---|---|
arithmetic type (2) | double norm (ArithmeticType x); // additional overloads |
abs(x)
.double
, except if the argument is float
or long double
(in which case, the return type is of the same type as the argument).
|
|
The norm of (3,4) is 25 |