VF_MagArgtoPrincipal | VD_MagArgtoPrincipal | VE_MagArgtoPrincipal |
|
Function | Construct 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/Delphi | uses 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/Delphi | uses 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 );
|
|
Description | The 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 |
|
|
|
|