VF_PtoNorm  VD_PtoNorm  VE_PtoNorm 

Function  Norm (square of the absolute value) of complex numbers 

Syntax C/C++  #include <VPFstd.h>
void VF_PtoNorm( fVector Norm, pfVector X, ui size ); 
C++ VecObj  #include <OptiVec.h>
void vector<T>::PtoNorm( const vector<polar<T>>& X ); 
Pascal/Delphi  uses VPFstd;
procedure VF_PtoNorm( Norm:fVector; X:pfVector; size:UIntSize ); 

Description  Norm_{i} = Mag^{2}(X_{i})
This definition of the Norm of a complex number is the same as in C++, but it is not consistent with the usual definition in mathematics, where the term "norm" is used as a synomym for "absolute value" or "magnitude". As defined here, the Norm is the square of the absolute value. The absolute value itself is available by the function VPF_abs. 



