VF_runmax | VD_runmax | VE_runmax |
VI_runmax | VBI_runmax | VSI_runmax | VLI_runmax | VQI_runmax | |
VU_runmax | VUB_runmax | VUS_runmax | VUL_runmax | VUQ_runmax | VUI_runmax |
|
Function | "running" maximum. |
|
Syntax C/C++ | #include <VFstd.h>
void VF_runmax( fVector Y, fVector X, ui size ); |
C++ VecObj | #include <OptiVec.h>
void vector<T>::runmax( const vector<T>& X ); |
Pascal/Delphi | uses VFstd;
procedure VF_runmax( Y, X:fVector; size:UIntSize ); |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_runmax( fVector d_Y, fVector d_X, ui size );
void VFcu_runmax( fVector h_Y, fVector h_X, ui size );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_runmax( d_Y, d_X:fVector; size:UIntSize );
procedure VFcu_runmax( h_Y, h_X:fVector; size:UIntSize );
|
|
Description | Each element of Y is the maximum of the corresponding and all preceding elements of X. |
|
|
|
|