Package com.singularsys.extensions.djep
Class DVariableTable
java.lang.Object
com.singularsys.jep.VariableTable
com.singularsys.extensions.xjep.XVariableTable
com.singularsys.extensions.djep.DVariableTable
- All Implemented Interfaces:
JepComponent,Serializable
A VariableTable which works with partial derivatives of variables.
Closely linked with
DVariableFactory- Author:
- Rich Morris Created on 23-Nov-2003
- See Also:
-
Field Summary
Fields inherited from class com.singularsys.jep.VariableTable
table, vf -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPartialDeriv(String name, String[] dnames) Gets the partial derivative of a variable.Methods inherited from class com.singularsys.extensions.xjep.XVariableTable
init, newInstance, printMethods inherited from class com.singularsys.jep.VariableTable
addConstant, addVariable, addVariable, clear, clearValues, containsKey, containsVariable, copyConstantsFrom, copyVariablesFrom, getLightWeightInstance, getVariable, getVariableFactory, getVariables, isEmpty, keySet, remove, remove, removeNonConstants, setVariableFactory, size, toString, values
-
Constructor Details
-
DVariableTable
public DVariableTable()
-
-
Method Details
-
getPartialDeriv
Gets the partial derivative of a variable.- Parameters:
name- name of variable to find derivative ofdnames- array of names, ["x","y"] would give the derivative d/dxdy- Returns:
- the derivative or null if it has not been calculated.
-