|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.mathematics.analysis.expressions.OperatorExpression
org.jscience.mathematics.analysis.expressions.BinaryOperator
org.jscience.mathematics.analysis.expressions.symbolic.Diff
public class Diff
Class representing the derivative of an Expression objects.
Example of use:
Expression e1 = ...; NamedDataExpression e2 = ...; Expression e3 = new Diff( e1, e2 );
Expression,
NamedDataExpression,
BinaryOperator,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.jscience.mathematics.analysis.expressions.BinaryOperator |
|---|
deriv, evalValid, evalValue, secondOperand, valid |
| Fields inherited from class org.jscience.mathematics.analysis.expressions.OperatorExpression |
|---|
firstOperand |
| Constructor Summary | |
|---|---|
Diff(Expression op1,
NamedDataExpression op2)
Creates a Diff object that represents the derivative of an Expression objects with respect to a NamedDataExpression. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object e)
DOCUMENT ME! |
double |
eval()
DOCUMENT ME! |
boolean |
isDifferentiable()
DOCUMENT ME! |
boolean |
isExpandable()
DOCUMENT ME! |
Expression |
optimize()
DOCUMENT ME! |
Expression |
replace(Expression a,
Expression b)
DOCUMENT ME! |
java.lang.String |
toJava()
DOCUMENT ME! |
java.lang.String |
toString()
DOCUMENT ME! |
java.lang.String |
toTaylorMap()
DOCUMENT ME! |
java.lang.String |
toXML()
DOCUMENT ME! |
| Methods inherited from class org.jscience.mathematics.analysis.expressions.BinaryOperator |
|---|
diff, getElements, getSecondOperand, resetNumDiff, resetNumEval, setIndex, setNumberOfIndependents, setSecondOperand |
| Methods inherited from class org.jscience.mathematics.analysis.expressions.OperatorExpression |
|---|
contains, factor, getFirstOperand, isolate, isolate, setFirstOperand |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Diff(Expression op1,
NamedDataExpression op2)
op1 - An Expression object.op2 - NamedDataExpression representing the independent variable.| Method Detail |
|---|
public double eval()
public boolean isDifferentiable()
isDifferentiable in interface ExpressionisDifferentiable in class BinaryOperatorExpression.isDifferentiable()public boolean isExpandable()
isExpandable in interface ExpressionisExpandable in class BinaryOperatorExpression.isExpandable()
public Expression replace(Expression a,
Expression b)
a - DOCUMENT ME!b - DOCUMENT ME!
public boolean equals(java.lang.Object e)
equals in class java.lang.Objecte - DOCUMENT ME!
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toJava()
public java.lang.String toTaylorMap()
toTaylorMap in interface ExpressiontoTaylorMap in class BinaryOperatorpublic Expression optimize()
public java.lang.String toXML()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||