|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nfunk.jep.function.PostfixMathCommand
org.nfunk.jep.function.List
org.lsmp.djep.vectorJep.function.VList
public class VList
A enhanced version of List, allows matrices and tensors. During evaluation this function converts lists of values into the appropriate
MatrixValueI
type.
Field Summary |
---|
Fields inherited from class org.nfunk.jep.function.PostfixMathCommand |
---|
curNumberOfParameters, numberOfParameters |
Constructor Summary | |
---|---|
VList()
|
Method Summary | |
---|---|
Dimensions |
calcDim(Dimensions[] dims)
Calculates the dimension of this node with given dimensions of children. |
MatrixValueI |
calcValue(MatrixValueI res,
MatrixValueI[] inputs)
Calculates the value of this node. |
void |
run(java.util.Stack inStack)
Throws an exception because this method should never be called under normal circumstances. |
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 VList()
Method Detail |
---|
public Dimensions calcDim(Dimensions[] dims) throws ParseException
calcDim
in interface NaryOperatorI
ParseException
public MatrixValueI calcValue(MatrixValueI res, MatrixValueI[] inputs) throws ParseException
calcValue
in interface NaryOperatorI
ParseException
public void run(java.util.Stack inStack) throws ParseException
PostfixMathCommand
run
in interface PostfixMathCommandI
run
in class List
ParseException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |