|
|||||||||
| 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.TernaryOperator
org.jscience.mathematics.analysis.expressions.symbolic.Step
public class Step
Class representing the step function.
TernaryOperator,
Serialized Form| Field Summary |
|---|
| Fields inherited from class org.jscience.mathematics.analysis.expressions.TernaryOperator |
|---|
secondOperand, thirdOperand |
| Fields inherited from class org.jscience.mathematics.analysis.expressions.OperatorExpression |
|---|
firstOperand |
| Constructor Summary | |
|---|---|
Step(Expression steptime,
Expression stepvalue)
Creates an object that represent the step function. |
|
Step(Expression time,
Expression steptime,
Expression stepvalue)
Creates an object that represents the step function. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object e)
DOCUMENT ME! |
double |
eval()
DOCUMENT ME! |
boolean |
isDifferentiable()
The step function is not differentiable so we override the inherited isDifferentiable method. |
boolean |
isExpandable()
The step 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.TernaryOperator |
|---|
diff, getElements, getSecondOperand, getThirdOperand, 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 Step(Expression time,
Expression steptime,
Expression stepvalue)
time - Usually the normal timesteptime - The time from which the step function should be
stepvalue rather than zerostepvalue - The value to which the step function steps at time
steptime
public Step(Expression steptime,
Expression stepvalue)
steptime - DOCUMENT ME!stepvalue - DOCUMENT ME!| Method Detail |
|---|
public double eval()
public boolean isDifferentiable()
isDifferentiable in interface ExpressionisDifferentiable in class TernaryOperatorExpression.isDifferentiable()public boolean isExpandable()
isExpandable in interface ExpressionisExpandable in class TernaryOperatorExpression.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 | ||||||||