public class PolynomialQ extends AbstractFunctionEvaluator implements java.util.function.BiPredicate<IExpr,IExpr>
True
, if the given expression is a polynoomial objectConstructor and Description |
---|
PolynomialQ() |
Modifier and Type | Method and Description |
---|---|
IExpr |
evaluate(IAST ast,
EvalEngine engine)
Returns
True if the given expression is a polynoomial
object; False otherwise |
static edu.jas.poly.GenPolynomial<IExpr> |
polynomial(IExpr polnomialExpr,
IAST variables,
boolean numericFunction) |
static edu.jas.poly.GenPolynomial<IExpr> |
polynomial(IExpr polnomialExpr,
ISymbol symbol,
boolean numericFunction) |
void |
setUp(ISymbol symbol)
Evaluate built-in rules and define Attributes for a function.
|
boolean |
test(IExpr firstArg,
IExpr secondArg) |
createRuleFromMethod, getNormalizedNegativeExpression, getNormalizedNegativeExpression, getPeriodicParts, getPureImaginaryPart, getRuleAST, initSerializedRules, isNegativeExpression
numericEval
public IExpr evaluate(IAST ast, EvalEngine engine)
True
if the given expression is a polynoomial
object; False
otherwiseevaluate
in interface IFunctionEvaluator
evaluate
in class AbstractFunctionEvaluator
ast
- the abstract syntax tree (AST) which should be evaluatedengine
- the users current evaluation enginenull
, if evaluation isn't possibleValidate
,
IExpr.head()
,
IAST.arg1()
,
IAST.arg2()
,
IAST.arg3()
public static edu.jas.poly.GenPolynomial<IExpr> polynomial(IExpr polnomialExpr, IAST variables, boolean numericFunction)
public static edu.jas.poly.GenPolynomial<IExpr> polynomial(IExpr polnomialExpr, ISymbol symbol, boolean numericFunction)
public void setUp(ISymbol symbol)
AbstractFunctionEvaluator
setUp
in interface IEvaluator
setUp
in class AbstractFunctionEvaluator
symbol
- the symbol which should be set up