VF_absminmax | VD_absminmax | VE_absminmax |
|
Function | Finds 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/Delphi | uses 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/Delphi | uses 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;
|
|
Description | The vector X is searched for its minimum and maximum in absolute terms. The maximum is stored as xmax, while the minimum is returned. |
|
|
Return value | Minimum absolute value encountered. |
|
|