public class GreaterEqual extends Greater
>= operator implementation.ITernaryComparator.COMPARE_RESULT| Modifier and Type | Field and Description |
|---|---|
static GreaterEqual |
CONST |
| Constructor and Description |
|---|
GreaterEqual() |
| Modifier and Type | Method and Description |
|---|---|
protected IExpr |
checkAssumptions(IExpr arg1,
IExpr arg2)
Check assumptions for the comparison operator.
|
ITernaryComparator.COMPARE_RESULT |
compare(IExpr a0,
IExpr a1)
Return TRUE if the comparison is
true
Return FALSE if the comparison is false
Return UNDEFINED if the comparison is undetermined (i.e. could not be evaluated)
|
protected IAST |
simplifyCompare(IExpr a1,
IExpr a2)
Try to simplify a comparator expression.
|
evaluate, prepareCompare, setUp, simplifyComparecreateRuleFromMethod, getNormalizedNegativeExpression, getNormalizedNegativeExpression, getPeriodicParts, getPureImaginaryPart, getRuleAST, initSerializedRules, isNegativeExpressionnumericEvalpublic static final GreaterEqual CONST
protected IExpr checkAssumptions(IExpr arg1, IExpr arg2)
GreaterEqual, Less, LessEqual.checkAssumptions in class Greaterarg1 - the left-hand-side of the comparisonarg2 - the right-hand-side of the comparisonprotected IAST simplifyCompare(IExpr a1, IExpr a2)
3*x > 6
will be simplified to x > 2.simplifyCompare in class Greatera1 - left-hand-side of the comparator expressiona2 - right-hand-side of the comparator expressionnull if no
simplification was foundpublic ITernaryComparator.COMPARE_RESULT compare(IExpr a0, IExpr a1)
truefalsecompare in interface ITernaryComparator<IExpr>compare in class Greater