|
Function | Add three vectors |
|
Syntax C/C++ | #include <VFmath.h>
void VF_add2V( fVector Z, fVector X, fVector Y1, fVector Y2, ui size ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::add2V( const vector<T>& X, const vector<T>& Y1, const vector<T>& Y2 ); |
Pascal/Delphi | uses VFmath;
procedure VF_add2V( Z, X, Y1, Y2:fVector; size:UIntSize ); |
|
CUDA function C/C++ | #include <cudaVFmath.h>
int cudaVF_add2V( fVector d_Z, fVector d_X, fVector d_Y1, fVector d_Y2, ui size );
void VFcu_add2V( fVector h_Z, fVector h_X, fVector h_Y1, fVector h_Y2, ui size );
|
CUDA function Pascal/Delphi | uses VFmath;
function cudaVF_add2V( d_Z, d_X, d_Y1, d_Y2:fVector; size:UIntSize ): IntBool;
procedure VFcu_add2V( h_Z, h_X, h_Y1, h_Y2:fVector; size:UIntSize );
|
|
Description | Zi = Xi + Y1i + Y2i
|
|
|
|
|