VF_avdevVVD_avdevVVE_avdevV
Functionaverage deviation of the elements of one vector from the corresponding elements of another vector.
Syntax C/C++#include <VFstd.h>
float VF_avdevV( fVector X, fVector Y, ui size );
C++ VecObj#include <OptiVec.h>
T vector<T>::avdevV( const vector<T>& Y );
Pascal/Delphiuses VFstd;
function VF_avdevV( X, Y:fVector; size:UIntSize ): Single;
DescriptionavdevV = 1/size * sum( |Xi - Yi| )
The average of the absolute deviation of each element of X from the corresponding element of Y is calculated.
Error handlingnone
Return valueaverage deviation.
See alsoVF_ssq,   VF_ssqdevV,   VF_avdevC,   VF_sumdevV,   VF_chiabs

VectorLib Table of Contents  OptiVec home