FunctionConstruct a polar complex vector from real and imaginary parts
Syntax C/C++#include <VPFstd.h>
void VF_ReImtoP( pfVector Y, fVector Re, fVector Im, ui size );
C++ VecObj#include <OptiVec.h>
void vector<polar<T>>::ReImtoP( const vector<T>& Re, const vector<T>& Im );
Pascal/Delphiuses VPFstd;
procedure VF_ReImtoP( X:pfVector; Re, Im:fVector; size:UIntSize );
CUDA function C/C++#include <cudaVPFstd.h>
int cudaVF_ReImtoP( pfVector Y, fVector d_Re, fVector d_Im, ui size );
void VFcu_ReImtoP( pfVector Y, fVector h_Re, fVector h_Im, ui size );
CUDA function Pascal/Delphiuses VPFstd;
function cudaVF_ReImtoP( d_X:pfVector; d_Re, d_Im:fVector; size:UIntSize ): IntBool;
procedure VFcu_ReImtoP( h_X:pfVector; h_Re, h_Im:fVector; size:UIntSize );
DescriptionThe polar complex vector Y is constructed from cartesian coordinates entered as the two real vectors Re and Im.
Error handlingnone
Return valuenone
See alsoVF_PtoReIm,   VF_MagArgtoP

VectorLib Table of Contents  OptiVec home