org.lsmp.djep.djep
Class DSymbolTable

java.lang.Object
  extended by java.util.Dictionary
      extended by java.util.Hashtable
          extended by org.nfunk.jep.SymbolTable
              extended by org.lsmp.djep.xjep.XSymbolTable
                  extended by org.lsmp.djep.djep.DSymbolTable
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class DSymbolTable
extends XSymbolTable

A SymbolTable which works with partial derivatives of variables. Closely linked with DVariableFactory

Author:
Rich Morris Created on 23-Nov-2003
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.nfunk.jep.SymbolTable
SymbolTable.StObservable
 
Field Summary
 
Fields inherited from class org.nfunk.jep.SymbolTable
obeservable
 
Constructor Summary
DSymbolTable(VariableFactory varFac)
           
 
Method Summary
 void clearValues()
          Clears the values of all variables.
 PartialDerivative getPartialDeriv(java.lang.String name, java.lang.String[] dnames)
           
 SymbolTable newInstance()
          Creates a new SymbolTable with the same variable factory as this.
 
Methods inherited from class org.lsmp.djep.xjep.XSymbolTable
copyConstants, print
 
Methods inherited from class org.nfunk.jep.SymbolTable
addConstant, addObserver, addObserverToExistingVariables, addVariable, clearNonConstants, countObservers, createVariable, createVariable, deleteObserver, deleteObservers, get, getValue, getVar, getVariableFactory, hasChanged, makeVarIfNeeded, makeVarIfNeeded, put, setVarValue, toString
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, hashCode, isEmpty, keys, keySet, putAll, rehash, remove, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSymbolTable

public DSymbolTable(VariableFactory varFac)
Method Detail

newInstance

public SymbolTable newInstance()
Creates a new SymbolTable with the same variable factory as this.

Overrides:
newInstance in class XSymbolTable

getPartialDeriv

public PartialDerivative getPartialDeriv(java.lang.String name,
                                         java.lang.String[] dnames)

clearValues

public void clearValues()
Description copied from class: SymbolTable
Clears the values of all variables. Finer control is available through the Variable.setValidValue method.

Overrides:
clearValues in class SymbolTable


http://www.singularsys.com/jep Copyright © 2007 Singular Systems