FunctionArgument (angle) of complex numbers
Syntax C/C++#include <VPFstd.h>
void VF_PtoArg( fVector Arg, pfVector X, ui size );
C++ VecObj#include <OptiVec.h>
void vector<T>::PtoArg( const vector<polar<T>>& X );
Pascal/Delphiuses VPFstd;
procedure VF_PtoArg( Arg:fVector; X:pfVector; size:UIntSize );
CUDA function C/C++#include <cudaVPFstd.h>
int cudaVF_PtoArg( fVector d_Arg, pfVector d_X, ui size );
void VFcu_PtoArg( fVector h_Arg, pfVector h_X, ui size );
CUDA function Pascal/Delphiuses VPFstd;
function cudaVF_PtoArg( d_Arg:fVector; d_X:pfVector; size:UIntSize ): IntBool;
procedure VF_PtoArg( h_Arg:fVector; h_X:pfVector; size:UIntSize );
DescriptionThe argument, i.e. the angle of each element is extracted from the polar complex vector X. In contrast to the analogous function for cartesian complex vectors, VF_CtoArg, no normalization of the argument is performed. If the normalized argument is needed, VPF_principal must be called first.
Error handlingnone
Return valuenone
See alsoVF_PtoAbs,   VF_PtoMagArg,   VF_PtoReIm

VectorLib Table of Contents  OptiVec home