Less or greater predicate operation
rop = mps_lessgreater( op1, op2 )
Overloaded usage:
rop = op1 <> op2
Scilab matrix of boolean
multi-precision or Scilab matrices or scalars
Compare each elements of op1
and
op2
and set the corresponding element
of the boolean matrix rop
to True if they are less or
greater than each other or False otherwise.
Compare each elements of op1
and
op2
and set the corresponding element
of the boolean matrix rop
to True if they are less or
greater than each other or False otherwise.
Overloaded Scilab inequality comparison.
Currently op1
and op2
must be of
the same size. Support for comparing a matrix with a single scalar is not
implemented yet.
The overloaded case uses the Scilab inequality operator. However, lessgreater will return False when either one or both of the input arguments is an NaN while an inequality operator would return True.