| Package | Description |
|---|---|
| org.lsmp.djep.djep.diffRules | |
| org.lsmp.djep.matrixJep | |
| org.lsmp.djep.xjep | |
| org.nfunk.jep |
| Constructor and Description |
|---|
MultiplyDiffRule(String inName,
Operator op) |
| Modifier and Type | Field and Description |
|---|---|
protected Operator |
MatrixOperatorSet.TENSOR |
| Modifier and Type | Method and Description |
|---|---|
Operator |
MatrixOperatorSet.getMList() |
Operator[] |
MatrixOperatorSet.getOperators() |
| Modifier and Type | Method and Description |
|---|---|
ASTFunNode |
MatrixNodeFactory.buildOperatorNode(Operator op,
Node[] arguments)
Builds a operator node with n arguments
|
ASTFunNode |
MatrixNodeFactory.buildOperatorNode(Operator op,
Node[] arguments,
Dimensions dim)
create a function node with a known dimension
|
ASTFunNode |
MatrixNodeFactory.buildUnfinishedOperatorNode(Operator op)
Creates an operator node, but don't fill in the children or calculate
its dimension.
|
Dimensions |
MatrixNodeFactory.calcDim(Operator op,
Node[] arguments)
Calculates the dimension of node using the dimensions
of the children.
|
| Modifier and Type | Class and Description |
|---|---|
class |
XOperator
An Operator with additional information about its commutativity etc.
|
| Modifier and Type | Method and Description |
|---|---|
Operator |
XOperator.getBinaryInverseOp() |
Operator |
XOperator.getInverseOp() |
Operator |
TreeUtils.getOperator(Node node)
returns the operator for a node or null if it is not an operator node.
|
Operator |
XOperator.getRootOp() |
| Modifier and Type | Method and Description |
|---|---|
void |
PrintVisitor.addSpecialRule(Operator op,
PrintVisitor.PrintRulesI rules)
Adds a special print rule to be added for a given operator.
|
ASTConstant |
NodeFactory.buildConstantNode(Operator op,
Node child1)
Creates a ASTConstant whose value of applying a unary operator to its arguments.
|
ASTConstant |
NodeFactory.buildConstantNode(Operator op,
Node[] children)
Creates a ASTConstant whose value of applying the operator to its arguments.
|
ASTConstant |
NodeFactory.buildConstantNode(Operator op,
Node child1,
Node child2)
Creates a ASTConstant whose value of applying binary operator to its arguments.
|
ASTFunNode |
NodeFactory.buildOperatorNode(Operator op,
Node child)
creates a unary function.
|
ASTFunNode |
NodeFactory.buildOperatorNode(Operator op,
Node[] arguments)
Builds a operator node with n arguments
This method should be sub-classed
|
ASTFunNode |
NodeFactory.buildOperatorNode(Operator op,
Node lhs,
Node rhs)
creates a binary function.
|
ASTFunNode |
NodeFactory.buildUnfinishedOperatorNode(Operator op)
An unfinished node.
|
boolean |
XOperator.isDistributiveOver(Operator op) |
protected void |
XOperator.setBinaryInverseOp(Operator inv) |
protected void |
XOperator.setDistributiveOver(Operator op) |
protected void |
XOperator.setInverseOp(Operator inv) |
static void |
XOperatorSet.setPrecedenceTable(Operator[][] precArray)
Sets the precedences of the operators according to order in the supplied array.
|
protected void |
XOperator.setRootOp(Operator root) |
Node |
SimplificationVisitor.simplifyBuiltOperatorNode(Operator op,
Node lhs,
Node rhs)
First create a new node and then simplify it.
|
| Constructor and Description |
|---|
XOperator(Operator op,
int flags) |
XOperator(Operator op,
int flags,
int precedence) |
| Modifier and Type | Field and Description |
|---|---|
protected Operator |
OperatorSet.OP_ADD |
protected Operator |
OperatorSet.OP_AND |
protected Operator |
OperatorSet.OP_ASSIGN |
protected Operator |
OperatorSet.OP_CROSS |
protected Operator |
OperatorSet.OP_DIVIDE |
protected Operator |
OperatorSet.OP_DOT |
protected Operator |
OperatorSet.OP_ELEMENT |
protected Operator |
OperatorSet.OP_EQ |
protected Operator |
OperatorSet.OP_GE |
protected Operator |
OperatorSet.OP_GT
everyone can read but not write these operators
|
protected Operator |
OperatorSet.OP_LE |
protected Operator |
OperatorSet.OP_LIST |
protected Operator |
OperatorSet.OP_LT |
protected Operator |
OperatorSet.OP_MOD |
protected Operator |
OperatorSet.OP_MULTIPLY |
protected Operator |
OperatorSet.OP_NE |
protected Operator |
OperatorSet.OP_NOT |
protected Operator |
OperatorSet.OP_OR |
protected Operator |
OperatorSet.OP_POWER |
protected Operator |
OperatorSet.OP_SUBTRACT |
protected Operator |
OperatorSet.OP_UDIVIDE
unary division i.e.
|
protected Operator |
OperatorSet.OP_UMINUS |
| Modifier and Type | Method and Description |
|---|---|
Operator |
OperatorSet.getAdd() |
Operator |
OperatorSet.getAnd() |
Operator |
OperatorSet.getAssign() |
Operator |
OperatorSet.getCross() |
Operator |
OperatorSet.getDivide() |
Operator |
OperatorSet.getDot() |
Operator |
OperatorSet.getElement() |
Operator |
OperatorSet.getEQ() |
Operator |
OperatorSet.getGE() |
Operator |
OperatorSet.getGT() |
Operator |
OperatorSet.getLE() |
Operator |
OperatorSet.getList() |
Operator |
OperatorSet.getLT() |
Operator |
OperatorSet.getMod() |
Operator |
OperatorSet.getMultiply() |
Operator |
OperatorSet.getNE() |
Operator |
OperatorSet.getNot() |
Operator |
ASTFunNode.getOperator()
Returns the id number of the operator if the node is an operator.
|
Operator[] |
OperatorSet.getOperators()
Gets the list of operators.
|
Operator |
OperatorSet.getOr() |
Operator |
OperatorSet.getPower() |
Operator |
OperatorSet.getSubtract() |
Operator |
OperatorSet.getUMinus() |
| Modifier and Type | Method and Description |
|---|---|
void |
ASTFunNode.setOperator(Operator op)
Sets the opID, name and pfmc for this node by looking up the values
in the Operators class
|
Copyright © 2018. All rights reserved.