VF_MagArgtoPrincipalVD_MagArgtoPrincipalVE_MagArgtoPrincipal
FunctionConstruct a polar complex vector from separate vectors for magnitude and argument, reducing to the principal value
Syntax C/C++#include <VPFstd.h>
void VF_MagArgtoPrincipal( pfVector Y, fVector Mag, fVector Arg, ui size );
C++ VecObj#include <OptiVec.h>
void vector<polar<T>>::MagArgtoPrincipal( const vector<T>& Mag, const vector<T>& Arg );
Pascal/Delphiuses VPFstd;
procedure VF_MagArgtoPrincipal( X:pfVector; Mag, Arg:fVector; size:UIntSize );
CUDA function C/C++#include <cudaVPFstd.h>
int cudaVF_MagArgtoPrincipal( cfVector d_Y, fVector d_Mag, fVector d_Arg, ui size );
void VFcu_MagArgtoPrincipal( cfVector h_Y, fVector h_Mag, fVector h_Arg, ui size );
CUDA function Pascal/Delphiuses VPFstd;
function cudaVF_MagArgtoPrincipal( d_X:cfVector; d_Mag, d_Arg:fVector; size:UIntSize ): IntBool;
procedure VFcu_MagArgtoPrincipal( h_X:cfVector; h_Mag, h_Arg:fVector; size:UIntSize );
DescriptionThe polar complex vector Y is constructed from the two real vectors Mag and Arg. The arguments are reduced to the principal value, -p < Arg <= +p
Error handlingnone
Return valuenone
See alsoVPF_principal,   VF_MagArgtoP

VectorLib Table of Contents  OptiVec home