In file DVector.cpp:

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

Not Equal - compares a double and a vector.

Documentation

Compares of a double 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 double.
C - Output result vector.
Author:
Lars Pedersen
Version:
7-12-2000


Back DIVA Reference Manual The DIVA-Site