|
|||||||||
| 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.UnaryOperator
org.jscience.mathematics.analysis.expressions.symbolic.Abs
public class Abs
Class representing the absolute value of an Expression object.
Example of use:
Expression e1 = ...; Expression e2 = new Abs( e1 );
UnaryOperator,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.jscience.mathematics.analysis.expressions.UnaryOperator |
|---|
deriv, evalValid, evalValue, valid |
| Fields inherited from class org.jscience.mathematics.analysis.expressions.OperatorExpression |
|---|
firstOperand |
| Constructor Summary | |
|---|---|
Abs(Expression operand)
Creates an object that represent the sine of an Expression object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object e)
DOCUMENT ME! |
double |
eval()
DOCUMENT ME! |
boolean |
isDifferentiable()
The absolute value function is not differentiable so we override the inherited isDifferentiable method. |
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 |
toXML()
DOCUMENT ME! |
| Methods inherited from class org.jscience.mathematics.analysis.expressions.UnaryOperator |
|---|
diff, getElements, resetNumDiff, resetNumEval, setIndex, setNumberOfIndependents, toTaylorMap |
| 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 Abs(Expression operand)
operand - An Expression object.| Method Detail |
|---|
public double eval()
public Expression replace(Expression a,
Expression b)
a - DOCUMENT ME!b - DOCUMENT ME!
public boolean isDifferentiable()
isDifferentiable in interface ExpressionisDifferentiable in class UnaryOperatorExpression.isDifferentiable()public boolean isExpandable()
isExpandable in interface ExpressionisExpandable in class UnaryOperatorExpression.isExpandable()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 Expression optimize()
public java.lang.String toXML()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||