|
|||||||||
| 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.Range
org.lsmp.djep.vectorJep.function.VRange
public class VRange
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 | |
|---|---|
VRange()
|
|
| 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. |
java.lang.Object |
genRange(double low,
double inc,
int steps)
Generates a range [low,low+inc,... |
| Methods inherited from class org.nfunk.jep.function.Range |
|---|
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, run, setCurNumberOfParameters |
| Constructor Detail |
|---|
public VRange()
| Method Detail |
|---|
public Dimensions calcDim(Dimensions[] dims)
throws ParseException
calcDim in interface NaryOperatorIParseException
public MatrixValueI calcValue(MatrixValueI res,
MatrixValueI[] inputs)
throws ParseException
calcValue in interface NaryOperatorIParseException
public java.lang.Object genRange(double low,
double inc,
int steps)
Range
genRange in class Range
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||