VF_PtoNormVD_PtoNormVE_PtoNorm
FunctionNorm (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/Delphiuses VPFstd;
procedure VF_PtoNorm( Norm:fVector; X:pfVector; size:UIntSize );
DescriptionNormi = Mag2(Xi)
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.
Error handlingnone
Return valuenone
See alsoVF_PtoReIm,   VPF_abs

VectorLib Table of Contents  OptiVec home