|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--drasys.or.matrix.complex.ComplexContainer
Complex container implementation.
References:
Matrix Computations (Johns Hopkins Studies in the Mathematical Sciences)
Gene H. Golub, Charles F. Van Loan (Contributor) / Paperback / Published 1996
Numerical Recipes in C : The Art of Scientific Computing
William H. Press, et al / Hardcover / Published 1993
Parallel Algorithms for Matrix Computations
K.A. Gallivan / Paperback / Published 1990
Field Summary | |
protected double |
_epsilon
|
protected static double |
_globalEpsilon
|
Constructor Summary | |
ComplexContainer()
Create a real container with using the global epsilon. |
|
ComplexContainer(double epsilon)
Create a real container with explicit epsilon. |
Method Summary | |
boolean |
equals(Complex a,
Complex b)
Returns true if two complex scalers are equal to within epsilon. |
boolean |
equals(ComplexI a,
ComplexI b)
Returns true if two complex scalers are equal to within epsilon. |
double |
getEpsilon()
Gets the value that is used to relax the element equality test in the equals method. |
static double |
getGlobalEpsilon()
Gets the global matrix default equality fuzz factor. |
void |
setEpsilon(double epsilon)
Sets the value that is used to relax the element equality test in the equals method. |
static void |
setGlobalEpsilon(double epsilon)
Sets the global matrix default equality fuzz value. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static double _globalEpsilon
protected double _epsilon
Constructor Detail |
public ComplexContainer()
public ComplexContainer(double epsilon)
Method Detail |
public static double getGlobalEpsilon()
public static void setGlobalEpsilon(double epsilon)
public double getEpsilon()
public void setEpsilon(double epsilon)
public boolean equals(Complex a, Complex b)
public boolean equals(ComplexI a, ComplexI b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |