In file DVector.cpp:

DIVAMatrixExport void CDVector::Eq( const CDVector& B, CDVector& C ) const

Equal - compares a vector and a vector.

Documentation

Compares of a vector and a vector and returns the result as a binary matrix i.e.:

C(i) = 1 if A(i) == B C(i) = 0 else

Corresponding MatLab function EQ()

Returns:
Nothing.
Parameters:
B - Input vector.
C - Output result vector.
Author:
Lars Pedersen
Version:
7-12-2000


Back DIVA Reference Manual The DIVA-Site