public class AbstractAssumptions extends java.lang.Object implements IAssumptions
| Constructor and Description |
|---|
AbstractAssumptions() |
| Modifier and Type | Method and Description |
|---|---|
static ISymbol |
assumeAlgebraic(IExpr expr)
TODO implement algebraic number conditions.
|
static ISymbol |
assumeBoolean(IExpr expr) |
static ISymbol |
assumeComplex(IExpr expr) |
static ISymbol |
assumeInteger(IExpr expr) |
static boolean |
assumeNegative(IExpr expr) |
static boolean |
assumeNonNegative(IExpr expr) |
static boolean |
assumePositive(IExpr expr) |
static ISymbol |
assumePrime(IExpr expr) |
static ISymbol |
assumeRational(IExpr expr) |
static ISymbol |
assumeReal(IExpr expr) |
boolean |
isAlgebraic(IExpr expr)
Gives
true, if the symbol is assumed to be an algebraic value (i.e. an element of the Algebraics
domain), false in all other cases. |
boolean |
isBoolean(IExpr expr)
Gives
true, if the symbol is assumed to be a boolean value (i.e. an element of the Booleans
domain), false in all other cases. |
boolean |
isComplex(IExpr expr)
Gives
true, if the symbol is assumed to be a complex value (i.e. an element of the Complexes
domain), false in all other cases. |
boolean |
isInteger(IExpr expr)
Gives
true, if the symbol is assumed to be an integer value (i.e. an element of the Integers
domain), false in all other cases. |
boolean |
isNegative(IExpr expr)
Gives
true, if the symbol is assumed to be a negative value, false in all other cases. |
boolean |
isNonNegative(IExpr expr)
Gives
true, if the symbol is assumed to be a non-negative value, false in all other cases. |
boolean |
isPositive(IExpr expr)
Gives
true, if the symbol is assumed to be a positive value, false in all other cases. |
boolean |
isPrime(IExpr expr)
Gives
true, if the symbol is assumed to be a prime number (i.e. an element of the Primes domain),
false in all other cases. |
boolean |
isRational(IExpr expr)
Gives
true, if the symbol is assumed to be a rational value (i.e. an element of the Rationals
domain), false in all other cases. |
boolean |
isReal(IExpr expr)
Gives
true, if the symbol is assumed to be an integer value (i.e. an element of the Reals domain),
false in all other cases. |
public boolean isNegative(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be a negative value, false in all other cases.isNegative in interface IAssumptionspublic boolean isPositive(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be a positive value, false in all other cases.isPositive in interface IAssumptionspublic boolean isNonNegative(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be a non-negative value, false in all other cases.isNonNegative in interface IAssumptionspublic boolean isAlgebraic(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be an algebraic value (i.e. an element of the Algebraics
domain), false in all other cases.isAlgebraic in interface IAssumptionspublic boolean isBoolean(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be a boolean value (i.e. an element of the Booleans
domain), false in all other cases.isBoolean in interface IAssumptionspublic boolean isComplex(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be a complex value (i.e. an element of the Complexes
domain), false in all other cases.isComplex in interface IAssumptionspublic boolean isInteger(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be an integer value (i.e. an element of the Integers
domain), false in all other cases.isInteger in interface IAssumptionspublic boolean isPrime(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be a prime number (i.e. an element of the Primes domain),
false in all other cases.isPrime in interface IAssumptionspublic boolean isRational(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be a rational value (i.e. an element of the Rationals
domain), false in all other cases.isRational in interface IAssumptionspublic boolean isReal(IExpr expr)
IAssumptionstrue, if the symbol is assumed to be an integer value (i.e. an element of the Reals domain),
false in all other cases.isReal in interface IAssumptionspublic static boolean assumeNegative(IExpr expr)
public static boolean assumePositive(IExpr expr)
public static boolean assumeNonNegative(IExpr expr)
public static ISymbol assumeAlgebraic(IExpr expr)
expr -