| VF_runprod | VD_runprod | VE_runprod |
| VCF_runprod | VCD_runprod | VCE_runprod |
| VPF_runprod | VPD_runprod | VPE_runprod |
|
| Function | "running" product |
|
| Syntax C/C++ | #include <VFstd.h>
void VF_runprod( fVector Y, fVector X, ui size ); |
| C++ VecObj | #include <OptiVec.h>
void vector<T>::runprod( const vector<T>& X ); |
| Pascal/Delphi | uses VFstd;
procedure VF_runprod( Y, X:fVector; size:UIntSize ); |
|
| CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_runprod( fVector d_Y, fVector d_X, ui size );
void VFcu_runprod( fVector h_Y, fVector h_X, ui size );
|
| CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_runprod( d_Y, d_X:fVector; size:UIntSize );
procedure VFcu_runprod( h_Y, h_X:fVector; size:UIntSize );
|
|
| Description | Each element of Y is the product of the corresponding and all preceding elements of X. This function should be used with care: overflow is easily reached, and underflow may lead to all elements from a certain position on being zero. |
|
|
|
|