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 ); |
|
CUDA function C/C++ | #include <cudaVPFstd.h>
int cudaVF_PtoNorm( fVector d_Norm, pfVector d_X, ui size );
void VFcu_PtoNorm( fVector h_Norm, pfVector h_X, ui size );
|
CUDA function Pascal/Delphi | uses VPFstd;
function cudaVF_PtoNorm( d_Norm:fVector; d_X:pfVector; size:UIntSize ): IntBool;
procedure VF_PtoNorm( h_Norm:fVector; h_X:pfVector; size:UIntSize );
|
|
Description | Normi = 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. |
|
|
|
|