FunctionCompares 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/Delphiuses VFstd;
procedure VF_cmpV( Z, X, Y:fVector; size:UIntSize );
DescriptionEach 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.
Error handlingnone
Return valuenone
See alsoVF_cmp_...,  VF_cmp0,   VF_cmpC

VectorLib Table of Contents  OptiVec home