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.SpecialOperatorsEmptyOperatorTable.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, getUPlusaddOperator, addOperator, appendOperator, entrySet, getKey, getLightWeightInstance, getNumOps, getOperator, getOperators, getOperatorsByName, getOperatorsBySymbol, insertOperator, keySet, removeOperator, removeOperator, replaceOperator, replaceOperator, setBinaryInverseOp, setDistributiveOver, setGroupOperatorRelations, setGroupOperatorRelations, setInverseOp, setPrecedenceTable, setRootOp, setStandardOperatorRelations, toStringpublic 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)
XAssignoldTable - 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()
StandardOperatorTable2setBasicPfmcs in class StandardOperatorTable2OperatorTable2.BasicOperatorsprotected void setSpecialPfmcs()
StandardOperatorTable2setSpecialPfmcs in class StandardOperatorTable2OperatorTable2.SpecialOperatorsprotected void setPsudoPfmcs()
setPsudoPfmcs in class StandardOperatorTable2public void init(Jep jep)
JepComponentinit in interface JepComponentinit in class EmptyOperatorTablejep - the current Jep instanceprotected void setXPfmcs()
public Operator getXAssign()
Copyright © 2018 Singular Systems http://www.singularsys.com/jep