drasys.or.matrix
Interface RealContainerI
- All Known Subinterfaces:
- ContiguousMatrixI, ContiguousVectorI, MatrixI, ProblemI, SizableMatrixI, SizableProblemI, SizableVectorI, VectorI
- All Known Implementing Classes:
- RealContainer
- public interface RealContainerI
Containers that hold real numbers.
Method Summary |
boolean |
equals(double a,
double b)
Returns true if two scalers are equal to within epsilon. |
double |
getEpsilon()
Returns the value that is used to relax the element equality test in the equals method. |
void |
setEpsilon(double epsilon)
Sets the value that is used to relax the element equality test in the equals method. |
getEpsilon
public double getEpsilon()
- Returns the value that is used to relax the element equality test in the equals method.
The default value is the global epsilon in
RealContainer
which is initially set to 1.0E-6.
setEpsilon
public void setEpsilon(double epsilon)
- Sets the value that is used to relax the element equality test in the equals method.
The default value is the global epsilon in
RealContainer
which is initially set to 1.0E-6.
equals
public boolean equals(double a,
double b)
- Returns true if two scalers are equal to within epsilon.
Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com