public class XOperatorTable extends StandardOperatorTable2
StandardOperatorTable2
but uses the symbolic assignment function XAssign
.
The table can be configured in two ways:
OperatorTable2.BasicOperators, OperatorTable2.PsudoOperators, OperatorTable2.SpecialOperators
EmptyOperatorTable.OperatorKey
Modifier and Type | Field and Description |
---|---|
EmptyOperatorTable.OperatorKey |
XASSIGN |
protected Operator |
XAssignNoEqnOp |
protected Operator |
XAssignOp |
Constructor and Description |
---|
XOperatorTable()
Constructor with a single assignment operator for symbolic assignment
|
XOperatorTable(OperatorTable2 oldTable)
Decorator constructor.
|
XOperatorTable(OperatorTable2 oldTable,
java.lang.String xassignSym)
Adds a new operator for symbolic assignment in addition to normal assignment.
|
XOperatorTable(java.lang.String xassignSym)
Constructor with two assignment operators, the standard numerical assignment
and a new symbolic assignment operator
|
Modifier and Type | Method and Description |
---|---|
Operator |
getXAssign() |
void |
init(Jep jep)
Initialize the component.
|
protected void |
setBasicPfmcs()
Sets the standard set of pfmc's for basic operators.
|
protected void |
setPsudoPfmcs() |
protected void |
setSpecialPfmcs()
Sets the standard set of pfmc's for special operators assignment, dot product, cross product, list operator and the element of operator.
|
protected void |
setXPfmcs() |
getAdd, getAnd, getAssign, getCross, getDivide, getDot, getEle, getEQ, getGE, getGT, getLE, getList, getLT, getMod, getMultiply, getNE, getNop, getNot, getOr, getPower, getRange, getSubtract, getUDivide, getUMinus, getUPlus
addOperator, addOperator, appendOperator, entrySet, getKey, getLightWeightInstance, getNumOps, getOperator, getOperators, getOperatorsByName, getOperatorsBySymbol, insertOperator, keySet, removeOperator, removeOperator, replaceOperator, replaceOperator, setBinaryInverseOp, setDistributiveOver, setGroupOperatorRelations, setGroupOperatorRelations, setInverseOp, setPrecedenceTable, setRootOp, setStandardOperatorRelations, toString
public EmptyOperatorTable.OperatorKey XASSIGN
protected Operator XAssignOp
protected Operator XAssignNoEqnOp
public XOperatorTable()
public XOperatorTable(java.lang.String xassignSym)
xassignSym
- symbol used for symbolic assignmentpublic XOperatorTable(OperatorTable2 oldTable)
XAssign
oldTable
- existing table whos operators will be copied into thispublic XOperatorTable(OperatorTable2 oldTable, java.lang.String xassignSym)
oldTable
- existing table whos operators will be copied into thisxassignSym
- symbol used for new assignment operatorprotected void setBasicPfmcs()
StandardOperatorTable2
setBasicPfmcs
in class StandardOperatorTable2
OperatorTable2.BasicOperators
protected void setSpecialPfmcs()
StandardOperatorTable2
setSpecialPfmcs
in class StandardOperatorTable2
OperatorTable2.SpecialOperators
protected void setPsudoPfmcs()
setPsudoPfmcs
in class StandardOperatorTable2
public void init(Jep jep)
JepComponent
init
in interface JepComponent
init
in class EmptyOperatorTable
jep
- the current Jep instanceprotected void setXPfmcs()
public Operator getXAssign()
Copyright © 2018 Singular Systems http://www.singularsys.com/jep