Prototypes | Header File(s) | |
RWMathVec<double> |
norm(const RWMathVec<DComplex>&) |
<rw/math/mathvec.h> |
RWGenMat<double> |
norm(const RWGenMat<DComplex>&) |
<rw/math/genmat.h> |
RWMathArray<double> |
norm(const RWMathArray<DComplex>&) |
<rw/math/mtharray.h> |
Takes complex x as an argument and returns real y containing the norm:
yi = [Re(xi )] 2 + [Im(xi )] 2.