In file DVector.cpp:

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

Not 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 NE()

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


Back DIVA Reference Manual The DIVA-Site