| VF_avdevV | VD_avdevV | VE_avdevV |
|
| Function | average 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/Delphi | uses VFstd;
function VF_avdevV( X, Y:fVector; size:UIntSize ): Single; |
|
| Description | avdevV = 1/size * sum( |Xi - Yi| )
The average of the absolute deviation of each element of X from the corresponding element of Y is calculated. |
|
|
| Return value | average deviation. |
|
|