|
|||||||||
| 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.QuartaryOperator
org.jscience.mathematics.analysis.expressions.Clip
public class Clip
Class representing the clip function.
UnaryOperator,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.jscience.mathematics.analysis.expressions.QuartaryOperator |
|---|
fourthOperand, secondOperand, thirdOperand |
| Fields inherited from class org.jscience.mathematics.analysis.expressions.OperatorExpression |
|---|
firstOperand |
| Constructor Summary | |
|---|---|
Clip(Expression expression,
Expression first,
Expression second)
Creates an object that represents the clip function. |
|
Clip(Expression expression1,
Expression expression2,
Expression first,
Expression second)
Creates an object that represents the clip function. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object e)
DOCUMENT ME! |
double |
eval()
DOCUMENT ME! |
boolean |
isDifferentiable()
The clip function is not differentiable so we override the inherited isDifferentiable method. |
boolean |
isExpandable()
The clip function is not expandable so we override the inherited isExpandable method. |
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.QuartaryOperator |
|---|
diff, getElements, getFourthOperand, getSecondOperand, getThirdOperand, setFourthOperand, setSecondOperand, setThirdOperand, 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 Clip(Expression expression1,
Expression expression2,
Expression first,
Expression second)
expression1 - Any expressionexpression2 - Any expressionfirst - The value to which the clip function clips if expression1
is larger that expression2second - The value to which the clip function clips if expression1
is not larger that expression2
public Clip(Expression expression,
Expression first,
Expression second)
expression - Any expressionfirst - The value to which the clip function clips if the
expression is positivesecond - The value to which the clip function clips if the
expression is not positive| Method Detail |
|---|
public double eval()
public boolean isDifferentiable()
isDifferentiable in interface ExpressionisDifferentiable in class QuartaryOperatorExpression.isDifferentiable()public boolean isExpandable()
isExpandable in interface ExpressionisExpandable in class QuartaryOperatorExpression.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 Expression optimize()
public java.lang.String toXML()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||