In file DVector.cpp:

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

Less Than - 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 LT()

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


Back DIVA Reference Manual The DIVA-Site