|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nfunk.jep.function.PostfixMathCommand
org.lsmp.djep.vectorJep.function.Ele
ele(x,i) returns the i-th element of x.
Field Summary |
Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
curNumberOfParameters, numberOfParameters |
Constructor Summary | |
Ele()
|
Method Summary | |
Dimensions |
calcDim(Dimensions ldim,
Dimensions rdim)
Find the dimensions of this operator when applied to arguments with given dimensions. |
MatrixValueI |
calcValue(MatrixValueI res,
MatrixValueI param1,
MatrixValueI param2)
Calculates the value of this operator for given input with results stored in res. |
void |
run(java.util.Stack stack)
Run the function on the stack. |
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
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 |
getNumberOfParameters, setCurNumberOfParameters |
Constructor Detail |
public Ele()
Method Detail |
public Dimensions calcDim(Dimensions ldim, Dimensions rdim) throws ParseException
BinaryOperatorI
calcDim
in interface BinaryOperatorI
ParseException
public MatrixValueI calcValue(MatrixValueI res, MatrixValueI param1, MatrixValueI param2) throws ParseException
BinaryOperatorI
calcValue
in interface BinaryOperatorI
ParseException
public void run(java.util.Stack stack) throws ParseException
PostfixMathCommandI
run
in interface PostfixMathCommandI
run
in class PostfixMathCommand
ParseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |