public class PartialDerivative extends XVariable implements Observer
Modifier and Type | Method and Description |
---|---|
PartialDerivative |
findDerivative(String dname,
DJep jep) |
String[] |
getDnames() |
String |
getName() |
DVariable |
getRoot()
Every partial derivative has a root variable
for instance the root variable of dy/dx is y.
|
String |
toString()
Returns a string with the variable name followed by it's value.
|
void |
update(Observable arg0,
Object arg1)
When the value of the root object is changed
makes the value of this partial derivative invalid.
|
calcValue, getEquation, hasEquation, setEquation, toString
getValue, hasValidValue, isConstant, setIsConstant, setValidValue, setValue
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
public DVariable getRoot()
public String[] getDnames()
public String toString()
Variable
a: 10If the variable is a constant the string " (Constant" is appended.
public PartialDerivative findDerivative(String dname, DJep jep) throws ParseException
ParseException
public void update(Observable arg0, Object arg1)
update
in interface Observer
Observer.update(java.util.Observable, java.lang.Object)
Jas4pp 1.5 © Java Analysis Studio for Particle Physics