VF_maxreldevV VD_maxreldevV VE_maxreldevV
 Function Find the largest relative deviation between corresponding elements of two vectors.
 Syntax C/C++ #include float VF_maxreldevV( fVector X, fVector Y, ui size ); C++ VecObj #include T vector::maxreldevV( const vector& Y ); Pascal/Delphi uses VFstd; function VF_maxreldevV( X, Y:fVector; size:UIntSize ): Single;
 CUDA function C/C++ #include int cudaVF_maxreldevV( float *h_RetVal, fVector X, fVector Y, ui size ); int cusdVF_maxreldevV( float *d_RetVal, fVector X, fVector Y, ui size ); float VFcu_maxreldevV( fVector h_X, fVector h_Y, ui size ); CUDA function Pascal/Delphi uses VFstd; function cudaVF_maxreldevV( var h_RetVal:Single; d_X, d_Y:fVector; size:UIntSize ): IntBool; function cusdVF_maxreldevV( d_RetVal:PSingle; d_X, d_Y:fVector; size:UIntSize ): IntBool; function VFcu_avdevC( h_X, h_Y:fVector; size:UIntSize ): Single;
 Description The relative deviation (in absolute terms) between corresponding vectors X and Y is calculated as reldev = |Xi − Xi |  /  max( |Xi|, |Yi| ) and the largest reldev encountered is returned. If both Xi and Yi are zero, reldev is taken as zero, too (thus avoiding an undefined 0/0 situation).
 Error handling none
 Return value maximum relative deviation encountered.