|
|||||||||
| 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
public abstract class UnaryOperator
Abstract class used as superclass for all unary operators.
BinaryOperator,
OperatorExpression,
Serialized Form| Field Summary | |
|---|---|
protected double[] |
deriv
DOCUMENT ME! |
protected boolean |
evalValid
DOCUMENT ME! |
protected double |
evalValue
DOCUMENT ME! |
protected boolean[] |
valid
DOCUMENT ME! |
| Fields inherited from class org.jscience.mathematics.analysis.expressions.OperatorExpression |
|---|
firstOperand |
| Constructor Summary | |
|---|---|
UnaryOperator(Expression e1)
Creates a UnaryOperator object working on a given Expression object. |
|
| Method Summary | |
|---|---|
Expression |
diff(NamedDataExpression x)
Class UnaryOperator provides a default diff method for use by nondifferentiable objects. |
java.util.List |
getElements()
The getElements method must return a java.util.List whose elements are all the subexpressions of the Expression. |
boolean |
isDifferentiable()
Default implementation of method isDifferentiable which assumes that the UnaryOperator object is differentiable. |
boolean |
isExpandable()
Default implementation of method isExpandable which assumes that the UnaryOperator object is expandable. |
void |
resetNumDiff(int i)
DOCUMENT ME! |
void |
resetNumEval()
DOCUMENT ME! |
void |
setIndex(int i)
DOCUMENT ME! |
void |
setNumberOfIndependents(int n)
DOCUMENT ME! |
java.lang.String |
toTaylorMap()
Dummy implementation for classes that are not expandable. |
| Methods inherited from class org.jscience.mathematics.analysis.expressions.OperatorExpression |
|---|
contains, factor, getFirstOperand, isolate, isolate, setFirstOperand |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jscience.mathematics.analysis.expressions.Expression |
|---|
eval, optimize, replace, toJava, toXML |
| Field Detail |
|---|
protected boolean evalValid
protected double evalValue
protected boolean[] valid
protected double[] deriv
| Constructor Detail |
|---|
public UnaryOperator(Expression e1)
e1 - An Expression object.| Method Detail |
|---|
public boolean isDifferentiable()
Expression.isDifferentiable()public boolean isExpandable()
Expression.isExpandable()public Expression diff(NamedDataExpression x)
x - DOCUMENT ME!
public java.lang.String toTaylorMap()
public java.util.List getElements()
Expression
public void resetNumEval()
public void resetNumDiff(int i)
i - DOCUMENT ME!public void setNumberOfIndependents(int n)
n - DOCUMENT ME!public void setIndex(int i)
i - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||