|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nfunk.jep.function.PostfixMathCommand org.lsmp.djep.vectorJep.function.VPower org.lsmp.djep.matrixJep.function.MPower
public class MPower
An overloaded Power function compatible with MatrixJep.
Field Summary |
---|
Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
---|
curNumberOfParameters, numberOfParameters |
Constructor Summary | |
---|---|
MPower()
|
Method Summary | |
---|---|
MatrixNodeI |
preprocess(ASTFunNode node,
MatrixPreprocessor visitor,
MatrixJep jep,
MatrixNodeFactory nf)
During preprocessing sets the function to the Cross function if necessary. |
Methods inherited from class org.lsmp.djep.vectorJep.function.VPower |
---|
calcDim, calcValue, run |
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
---|
checkNumberOfParameters, checkStack, getNumberOfParameters, setCurNumberOfParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nfunk.jep.function.PostfixMathCommandI |
---|
checkNumberOfParameters, getNumberOfParameters, setCurNumberOfParameters |
Constructor Detail |
---|
public MPower()
Method Detail |
---|
public MatrixNodeI preprocess(ASTFunNode node, MatrixPreprocessor visitor, MatrixJep jep, MatrixNodeFactory nf) throws ParseException
preprocess
in interface SpecialPreProcessorI
node
- the top node of the tree representing the function and its arguments.visitor
- A reference to the preprocessing visitor.jep
- A reference of the MatrixJep instance.nf
- A reference to the node factory object.
ParseException
- if some error occurs.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |