VF_maxinddevVVD_maxinddevVVE_maxinddevV
FunctionMaximum absolute deviation of the elements of one vector from the corresponding elements of another and its index
Syntax C/C++#include <VFstd.h>
float VF_maxinddevV( ui *Ind, fVector X, fVector Y, ui size );
C++ VecObj#include <OptiVec.h>
T vector<T>::maxinddevV( ui *Ind, const vector<T>& Y );
Pascal/Delphiuses VFstd;
function VF_maxinddevV( var Ind:UIntSize; X, Y:fVector; size:UIntSize ): Single;
CUDA function C/C++#include <cudaVFstd.h>
int cudaVF_maxinddevV( float *h_RetVal, ui *h_Ind, fVector X, fVector Y, ui size );
int cusdVF_maxinddevV( float *d_RetVal, ui *h_Ind, fVector X, fVector Y, ui size );
float VFcu_maxinddevV( ui *h_Ind, fVector h_X, fVector h_Y, ui size );
CUDA function Pascal/Delphiuses VFstd;
function cudaVF_maxinddevV( var h_RetVal:Single; var h_Ind:UIntSize; d_X, d_Y:fVector; size:UIntSize ): IntBool;
function cusdVF_maxinddevV( d_RetVal:PSingle; var h_Ind:UIntSize; d_X, d_Y:fVector; size:UIntSize ): IntBool;
function VFcu_maxinddevV( var Ind:UIntSize; h_X, h_Y:fVector; size:UIntSize ): Single;
DescriptionmaxdevV = max( |Xi - Yi| )
The maximum deviation encountered is returned and its index i stored at the address given by the argument Ind.
Error handlingnone
Return valuemaximum absolute deviation.
See alsoVF_maxreldevV,   VF_maxinddevC,   VF_maxdevV,   VF_reldevV,   VF_sumdevV,   VF_avdevV,   VF_ssqdevV

VectorLib Table of Contents  OptiVec home