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)
IAssumptions
true
, if the symbol is assumed to be a negative value, false
in all other cases.isNegative
in interface IAssumptions
public boolean isPositive(IExpr expr)
IAssumptions
true
, if the symbol is assumed to be a positive value, false
in all other cases.isPositive
in interface IAssumptions
public boolean isNonNegative(IExpr expr)
IAssumptions
true
, if the symbol is assumed to be a non-negative value, false
in all other cases.isNonNegative
in interface IAssumptions
public boolean isAlgebraic(IExpr expr)
IAssumptions
true
, 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 IAssumptions
public boolean isBoolean(IExpr expr)
IAssumptions
true
, 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 IAssumptions
public boolean isComplex(IExpr expr)
IAssumptions
true
, 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 IAssumptions
public boolean isInteger(IExpr expr)
IAssumptions
true
, 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 IAssumptions
public boolean isPrime(IExpr expr)
IAssumptions
true
, 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 IAssumptions
public boolean isRational(IExpr expr)
IAssumptions
true
, 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 IAssumptions
public boolean isReal(IExpr expr)
IAssumptions
true
, 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 IAssumptions
public static boolean assumeNegative(IExpr expr)
public static boolean assumePositive(IExpr expr)
public static boolean assumeNonNegative(IExpr expr)
public static ISymbol assumeAlgebraic(IExpr expr)
expr
-