|
|||||||||
| 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.Mod
public class Mod
Class representing the modulus 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 | |
|---|---|
Mod(Expression x,
Expression a,
Expression b)
Creates an object that represents the modulus function. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object e)
DOCUMENT ME! |
double |
eval()
Returns the value of the Expression object. |
static double |
eval(double x,
double a,
double b)
The static method can be used to normalize numbers. |
boolean |
isDifferentiable()
The step function is not differentiable so we override the inherited isDifferentiable method. |
boolean |
isExpandable()
The mod 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 Mod(Expression x,
Expression a,
Expression b)
ysatisfying
a<=y.
- Parameters:
x - The Expression to be normalized.a - An Expression representing the lower limit.b - An Expression representing the upper limit.
| Method Detail |
|---|
public double eval()
Expression
public Expression replace(Expression a,
Expression b)
a - DOCUMENT ME!b - DOCUMENT ME!
public static double eval(double x,
double a,
double b)
x - DOCUMENT ME!a - DOCUMENT ME!b - DOCUMENT ME!
public boolean isDifferentiable()
isDifferentiable in interface ExpressionisDifferentiable in class TernaryOperatorExpression.isDifferentiable()public boolean isExpandable()
isExpandable in interface ExpressionisExpandable in class TernaryOperatorExpression.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 | ||||||||