FunctionFinds the smallest and the largest absolute value of a vector.
Syntax C/C++#include <VFstd.h>
float VF_absminmax( float *xmax, fVector X, ui size );
C++ VecObj#include <OptiVec.h>
T vector<T>::absminmax(T *xmax);
Pascal/Delphiuses VFstd;
function VF_absminmax( var xmax:Single; X:fVector; size:UIntSize ): Single;
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_absminmax( float *h_xmin, float *h_xmax, fVector d_X, ui size );
int cusdVF_absminmax( float *d_xmin, float *d_xmax, fVector d_X, ui size );
float VFcu_absminmax( float *xmax, fVector h_X, ui size );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_absminmax( var h_xmin, h_xmax:Single; d_X:fVector; size:UIntSize ): IntBool;
function cusdVF_absminmax( d_xmin, d_xmax:PSingle; d_X:fVector; size:UIntSize ): IntBool;
function VFcu_absminmax( var h_xmax:Single; h_X:fVector; size:UIntSize ): Single;
DescriptionThe vector X is searched for its minimum and maximum in absolute terms. The maximum is stored as xmax, while the minimum is returned.
Error handlingnone
Return valueMinimum absolute value encountered.
See alsoVF_minmax,   VF_absmin,   VF_absmax,   VF_min_max_mean_stddev

VectorLib Table of Contents  OptiVec home