VF_minindVD_minindVE_minind
VI_minindVBI_minindVSI_minindVLI_minindVQI_minind
VU_minindVUB_minindVUS_minindVUL_minindVUI_minind
FunctionFind 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/Delphiuses VFstd;
function VF_minind( var Ind:UIntSize; X:fVector; size:UIntSize ): Single;
DescriptionThe 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).
Error handlingnone
Return valueminimum value encountered.
See alsoVF_min,   VF_maxind,   VF_absmin,   VF_runmin

VectorLib Table of Contents  OptiVec home