FunctionOverwrites the imaginary part of a cartesian-complex vector with a real-valued vector.
Syntax C/C++#include <VCFstd.h>
void VF_ImtoC( cfVector Y, fVector Im, ui size );
C++ VecObj#include <OptiVec.h>
void vector<complex<T>>::ImtoC( const vector<T>& Im );
Pascal/Delphiuses VCFstd;
procedure VF_ImtoC( X:cfVector; Im:fVector; size:UIntSize );
CUDA function C/C++#include <cudaVCFstd.h>
int cudaVF_ImtoC( cfVector d_Y, fVector d_Im, ui size );
void VFcu_ImtoC( cfVector h_Y, fVector h_Im, ui size );
CUDA function Pascal/Delphiuses VCFstd;
function cudaVF_ImtoC( d_X:cfVector; d_Im:fVector; size:UIntSize ): IntBool;
procedure VFcu_ImtoC( h_X:cfVector; h_Im:fVector; size:UIntSize );
DescriptionThe imaginary part of the complex vector Y is overwritten with the elements of the real-valued vector Im. The real part of Y is not affected.
Error handlingnone
Return valuenone
See alsoVF_CtoReIm,   VF_ReImtoC,   VF_RetoC,   VF_CtoIm,   VF_PolartoC

VectorLib Table of Contents  OptiVec home