norm

Syntax:

    #include <complex>
    template <class T>
    T norm( complex<T> num );

The norm() function returns the square of the absolute value of num, called the “norm” by some sources. Note: in some sources, the “norm” can also refer to the absolute value itself; for that you should use the abs function instead.