FunctionFinds 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/Delphiuses 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/Delphiuses 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;
DescriptionThe 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".
Error handlingnone
Return valueMinimum value encountered.
See alsoVF_absmin,   VF_minmax,   VF_minpos,   VF_minexp,   VF_runmin,   VF_minind,   VF_min_max_mean_stddev

VectorLib Table of Contents  OptiVec home