Package com.singularsys.extensions.djep
Class DVariableTable
- java.lang.Object
-
- java.util.Observable
-
- com.singularsys.jep.VariableTable
-
- com.singularsys.extensions.xjep.XVariableTable
-
- com.singularsys.extensions.djep.DVariableTable
-
- All Implemented Interfaces:
JepComponent
,java.io.Serializable
public class DVariableTable extends XVariableTable
A VariableTable which works with partial derivatives of variables. Closely linked withDVariableFactory
- Author:
- Rich Morris Created on 23-Nov-2003
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.singularsys.jep.VariableTable
table, vf
-
-
Constructor Summary
Constructors Constructor Description DVariableTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartialDerivative
getPartialDeriv(java.lang.String name, java.lang.String[] dnames)
Gets the partial derivative of a variable.-
Methods inherited from class com.singularsys.extensions.xjep.XVariableTable
init, newInstance, print
-
Methods 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
-
-
-
-
Method Detail
-
getPartialDeriv
public PartialDerivative getPartialDeriv(java.lang.String name, java.lang.String[] dnames)
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.
-
-