FunctionCopies one vector to another.
Syntax C/C++#include <VFstd.h>
void VF_equV( fVector Y, fVector X, ui size );
void VFx_equV( fVector Y, fVector X, ui size, float A, float B );
C++ VecObj#include <OptiVec.h>
void vector<T>::equV( const vector<T>& X );
void vector<T>::x_equV( const vector<T>& X, const T& A, const T& B );
Pascal/Delphiuses VFstd;
procedure VF_equV( Y, X:fVector; size:UIntSize );
procedure VFx_equV( Y, X:fVector; size:UIntSize; A, B:Single );
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_equV( fVector d_Y, fVector d_X, ui size );
int cudaVFx_equV( fVector d_Y, fVector d_X, ui size, float A, float B );
int cusdVFx_equV( fVector d_Y, fVector d_X, ui size, float *d_A, float *d_B );
void VFcu_equV( fVector h_Y, fVector h_X, ui size );
void VFxcu_equV( fVector h_Y, fVector h_X, ui size, float A, float B );
int cudaVF_equVhost( fVector d_Y, fVector h_X, ui size );
int VF_equVdevice( fVector h_Y, fVector d_X, ui size );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_equV( d_Y, d_X:fVector; size:UIntSize ): IntBool;
function cudaVFx_equV( d_Y, d_X:fVector; size:UIntSize; A, B:Single );
function cusdVFx_equV( d_Y, d_X:fVector; size:UIntSize; d_A, d_B:PSingle );
procedure VFcu_equV( h_Y, h_X:fVector; size:UIntSize );
procedure VFxcu_equV( h_Y, h_X:fVector; size:UIntSize; A, B:Single );
function cudaVF_equVhost( d_Y, h_X:fVector; size:UIntSize ): IntBool;
function VF_equVdevice( h_Y, d_X:fVector; size:UIntSize ): IntBool;
Descriptionnormal versions: Yi = Xi
expanded versions: Yi = A * Xi + B

CUDA versions: cudaVF_equVhost and VF_equVdevice transfer vectors from host to device memory and vice versa.

Error handlingnone
Return valuenone
See alsoVF_equ0,   VF_equ1,   VF_equC

VectorLib Table of Contents  OptiVec home