VPF_principalVPD_principalVPE_principal
FunctionReduce polar complex numbers to principal value
Syntax C/C++#include <VPFstd.h>
void VPF_principal( pfVector Y, pfVector X, ui size );
C++ VecObj#include <OptiVec.h>
void vector<polar<T>>::principal( const vector<polar<T>>& X );
Pascal/Delphiuses VPFstd;
procedure VPF_principal( Y, X:pfVector; size:UIntSize );
CUDA function C/C++#include <cudaVPFstd.h>
int cudaVPF_principal( pfVector d_Y, pfVector d_X, ui size );
void VPFcu_principal( pfVector d_Y, pfVector d_X, ui size );
CUDA function Pascal/Delphiuses VPFstd;
function cudaVPF_principal( h_Y, h_X:pfVector; size:UIntSize ): IntBool;
procedure VPFcu_principal( h_Y, h_X:pfVector; size:UIntSize );
DescriptionThe argument, i.e. the angle of each element is reduced to the range -p < Arg ≤ +p
Error handlingnone
Return valuenone
See alsoVF_MagArgtoPrincipal

VectorLib Table of Contents  OptiVec home