norm [C++ Reference]
Keywords: complex,norm
Date: 2010-04-19T02:11:38-0700

[[norm]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## 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.

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •