VF_maxVD_maxVE_max
VI_maxVBI_maxVSI_maxVLI_maxVQI_max
VU_maxVUB_maxVUS_maxVUL_maxVUI_max
FunctionFind the largest element of a vector.
Syntax C/C++#include <VFstd.h>
float VF_max( fVector X, ui size );
C++ VecObj#include <OptiVec.h>
T vector<T>::_max();
Pascal/Delphiuses VFstd;
function VF_max( X:fVector; size:UIntSize ): Single;
DescriptionThe vector X is searched for its largest element, whose value is returned. In order to avoid confusion with the macro "max" in C/C++, the VecObj version of this function is written with a leading underbar as "_max".
Error handlingnone
Return valuemaximum value encountered.
See alsoVF_min,   VF_min_max_mean_stddev,   VF_absmax,   VF_maxexp,   VF_runmax,   VF_maxind

VectorLib Table of Contents  OptiVec home