In file DMatrix.cpp:

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

Element wise not equal to. Comparison of a matrix and a double.

Documentation

Compares each element in this matrix (A) with double B. Result matrix C has elements with values 1 or 0.

C(i,j) = 1 if A(i,j) != B C(i,j) = 0 else

Returns:
Nothing.
Author:
Lars Pedersen
Version:
7-12-2000


Back DIVA Reference Manual The DIVA-Site