|
| Function | Compares each element of a vector with the corresponding element of another vector. |
|
| Syntax C/C++ | #include <VFmath.h>
void VF_cmpV( fVector Z, fVector X, fVector Y, ui size ); |
| C++ VecObj | #include <OptiVec.h>
void vector<T>::cmpV( const vector<T>& X, const vector<T>& Y ); |
| Pascal/Delphi | uses VFstd;
procedure VF_cmpV( Z, X, Y:fVector; size:UInt ); |
|
| Description | Each element of X is compared with the corresponding element of Y and the result of the comparison stored in Z:
Zi = +1.0, if Xi > Yi
Zi = 0.0, if Xi = Yi
Zi = -1.0, if Xi < Yi. |
|
|
|
|