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 );
CUDA function C/C++#include <cudaVPFstd.h>
int cudaVF_MagtoP( pfVector d_Y, fVector d_Mag, ui size );
void VFcu_MagtoP( pfVector h_Y, fVector h_Mag, ui size );
CUDA function Pascal/Delphiuses VPFstd;
function cudaVF_MagtoP( d_X:pfVector; d_Mag:fVector; size:UIntSize ): IntBool;
procedure VFcu_MagtoP( h_X:pfVector; h_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