Implements the comparative operations <, >, <=, >=, != and ==. The <, >, <=, >=, operators only work on Double type, while the != and == operators also work on String and Vector arguments. For other types, care might be needed.

Complex numbers are compared using a tolerance which can be set using setTolerance().

Namespace:  SingularSys.Jep.Functions
Assembly:  Jep (in Jep.dll) Version: 1.1.0.0 (1.0.0)

Syntax

C#
public class Comparative : PostfixMathCommand
Visual Basic (Declaration)
Public Class Comparative _
	Inherits PostfixMathCommand
Visual C++
public ref class Comparative : public PostfixMathCommand

Inheritance Hierarchy

System..::.Object
  SingularSys.Jep.Functions..::.PostfixMathCommand
    SingularSys.Jep.Functions..::.Comparative

See Also