|
Function | Subtract two vectors simultaneously from one vector |
|
Syntax C/C++ | #include <VFmath.h>
void VF_sub2V( fVector Z, fVector X, fVector Y1, fVector Y2, ui size ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::sub2V( const vector<T>& X, const vector<T>& Y1, const vector<T>& Y2 ); |
Pascal/Delphi | uses VFmath;
procedure VF_sub2V( Z, X, Y1, Y2:fVector; size:UIntSize ); |
|
CUDA function C/C++ | #include <cudaVFmath.h>
int cudaVF_sub2V( fVector d_Z, fVector d_X, fVector d_Y1, fVector d_Y2, ui size );
void VFcu_sub2V( fVector h_Z, fVector h_X, fVector h_Y1, fVector h_Y2, ui size );
|
CUDA function Pascal/Delphi | uses VFmath;
function cudaVF_sub2V( d_Z, d_X, d_Y1, d_Y2:fVector; size:UIntSize ): IntBool;
procedure VFcu_sub2V( h_Z, h_X, h_Y1, h_Y2:fVector; size:UIntSize );
|
|
Description | Zi = Xi - Y1i - Y2i
|
|
|
|
|