Package org.lsmp.djep.matrixJep
Class MatrixVariableFactory
java.lang.Object
org.nfunk.jep.VariableFactory
org.lsmp.djep.xjep.XVariableFactory
org.lsmp.djep.djep.DVariableFactory
org.lsmp.djep.matrixJep.MatrixVariableFactory
Allows creation of matrix aware variables.
- Author:
- Rich Morris Created on 19-Dec-2003
-
Field Summary
Fields inherited from class org.nfunk.jep.VariableFactory
defaultValue
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDerivative
(DVariable var, String[] dnames, Node eqn) create a derivativecreateVariable
(String name) Create a variable with a given value.createVariable
(String name, Object value) Create a variable with a given value.Methods inherited from class org.nfunk.jep.VariableFactory
getDefaultValue, setDefaultValue
-
Constructor Details
-
MatrixVariableFactory
public MatrixVariableFactory()
-
-
Method Details
-
createDerivative
create a derivative- Overrides:
createDerivative
in classDVariableFactory
-
createVariable
Create a variable with a given value.- Overrides:
createVariable
in classDVariableFactory
-
createVariable
Create a variable with a given value.- Overrides:
createVariable
in classDVariableFactory
-