FunctionExtract the magnitudes of complex numbers
Syntax C/C++#include <VPFstd.h>
void VF_PtoMag( fVector Mag, pfVector X, ui size );
C++ VecObj#include <OptiVec.h>
void vector<T>::PtoMag( const vector<polar<T>>& X );
Pascal/Delphiuses VPFstd;
procedure VF_PtoMag( Mag:fVector; X:pfVector; size:UIntSize );
CUDA function C/C++#include <cudaVPFstd.h>
int cudaVF_PtoMag( fVector d_Mag, pfVector d_X, ui size );
void VFcu_PtoMag( fVector h_Mag, pfVector h_X, ui size );
CUDA function Pascal/Delphiuses VPFstd;
function cudaVF_PtoMag( d_Mag:fVector; d_X:pfVector; size:UIntSize ): IntBool;
procedure VF_PtoMag( h_Mag:fVector; h_X:pfVector; size:UIntSize );
DescriptionThe magnitude of each element is extracted from the polar complex vector X.
Error handlingnone
Return valuenone
See alsoVF_PtoArg

VectorLib Table of Contents  OptiVec home