VI_min | VBI_min | VSI_min | VLI_min | VQI_min | |
VU_min | VUB_min | VUS_min | VUL_min | VUQ_min | VUI_min |
|
Function | Finds the smallest (or the most negative) element of a vector. |
|
Syntax C/C++ | #include <VFstd.h>
float VF_min( fVector X, ui size ); |
C++ VecObj | #include <OptiVec.h>
T vector<T>::_min(); |
Pascal/Delphi | uses VFstd;
function VF_min( X:fVector; size:UIntSize ): Single; |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_min( float *h_RetVal, fVector d_X, ui size );
int cusdVF_min( float *d_RetVal, fVector d_X, ui size );
float VFcu_min( fVector h_X, ui size );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_min( var h_RetVal:Single; d_X:fVector; size:UIntSize ): IntBool;
function cusdVF_min( d_RetVal:PSingle; d_X:fVector; size:UIntSize ): IntBool;
function VFcu_min( h_X:fVector; size:UIntSize ): Single;
|
|
Description | The vector X is searched for its smallest (or most negative) element. In order to avoid confusion with the macro "min" in C/C++, the VecObj version of this function is written with a leading underbar as "_min". |
|
|
Return value | Minimum value encountered. |
|
|