VF_MagtoPVD_MagtoPVE_MagtoP
FunctionOverwrite the Mag part of a polar complex vector with a real vector
Syntax C/C++#include <VPFstd.h>
void VF_MagtoP( pfVector Y, fVector Mag, ui size );
C++ VecObj#include <OptiVec.h>
void vector<polar<T>>::MagtoP( const vector<T>& Mag );
Pascal/Delphiuses VPFstd;
procedure VF_MagtoP( X:pfVector; Mag:fVector; size:UIntSize );
DescriptionThe Mag part of the polar complex vector Y is overwritten with the elements of the real-valued vector Mag. The Arg part of Y is not affected.
Error handlingnone
Return valuenone
See alsoVF_PtoMagArg,   VF_MagArgtoP,   VF_ArgtoP

VectorLib Table of Contents  OptiVec home