Class MatrixDictMakeMap
java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.NaryFunction
com.singularsys.jep.misc.dictionary.MakeMap
com.singularsys.extensions.matrix.dictionary.MatrixDictMakeMap
- All Implemented Interfaces:
PostfixMathCommandI,Serializable
Implementation of MakeMap compatible with the matrix package.
Allows
mat = [['x',2], ['y',3], ['z',4]];
map = treeMap(mat);
- Since:
- 4.1 extensions 2.2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.singularsys.jep.misc.dictionary.MakeMap
MakeMap.Type -
Field Summary
Fields inherited from class com.singularsys.jep.functions.PostfixMathCommand
curNumberOfParameters, description, name, NaN, numberOfParameters -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.singularsys.jep.misc.dictionary.MakeMap
checkNumberOfParameters, getDescriptionMethods inherited from class com.singularsys.jep.functions.NaryFunction
runMethods inherited from class com.singularsys.jep.functions.PostfixMathCommand
asArray, asBool, asDouble, asInt, asLong, asStrictInt, asString, asType, getDescription, getDescriptionWithType, getName, getNumberOfParameters, setCurNumberOfParameters, setDescription, setName, toString, toString
-
Constructor Details
-
MatrixDictMakeMap
-
MatrixDictMakeMap
-
-
Method Details
-
eval
Description copied from class:NaryFunctionEvaluate the function- Overrides:
evalin classMakeMap- Parameters:
args- arguments to the function- Returns:
- value returned by the function
- Throws:
EvaluationException- if the calculation cannot be performed
-