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 );
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