VF_minind | VD_minind | VE_minind |
VI_minind | VBI_minind | VSI_minind | VLI_minind | VQI_minind | |
VU_minind | VUB_minind | VUS_minind | VUL_minind | VUQ_minind | VUI_minind |
|
Function | Find the smallest (or the most negative) element of a vector and its index. |
|
Syntax C/C++ | #include <VFstd.h>
float VF_minind( ui *Ind, fVector X, ui size ); |
C++ VecObj | #include <OptiVec.h>
T vector<T>::minind( ui *Ind ); |
Pascal/Delphi | uses VFstd;
function VF_minind( var Ind:UIntSize; X:fVector; size:UIntSize ): Single; |
|
CUDA function C/C++ | #include <cudaVFstd.h>
int cudaVF_minind( float *h_RetVal, ui *h_Ind, fVector d_X, ui size );
int cusdVF_minind( float *d_RetVal, ui *h_Ind, fVector d_X, ui size );
float VFcu_minind( ui *h_Ind, fVector h_X, ui size );
|
CUDA function Pascal/Delphi | uses VFstd;
function cudaVF_minind( var h_RetVal:Single; var h_Ind:UIntSize; d_X:fVector; size:UIntSize ): IntBool;
function cusdVF_minind( d_RetVal:PSingle; var h_Ind:UIntSize; d_X:fVector; size:UIntSize ): IntBool;
function VFcu_minind( var h_Ind:UIntSize; h_X:fVector; size:UIntSize ): Single;
|
|
Description | The vector X is searched for its smallest (or most negative) element; its value is returned. At the address passed as Ind, the index of this element is stored. In the case of several mimima of equal depth, the first one is chosen (i.e., the smallest of their indices is stored in Ind). |
|
|
Return value | minimum value encountered. |
|
|