|
Parallel Colt 0.7.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cern.colt.matrix.tdouble.algo.solver.preconditioner.DoubleILUT
public class DoubleILUT
ILU preconditioner with fill-in. Uses the dual threshold approach of Saad.
Constructor Summary | |
---|---|
DoubleILUT(RCMDoubleMatrix2D LU)
Sets up the preconditioner for the given matrix. |
|
DoubleILUT(RCMDoubleMatrix2D LU,
double tau,
int p)
Sets up the preconditioner for the given matrix |
Method Summary | |
---|---|
DoubleMatrix1D |
apply(DoubleMatrix1D b,
DoubleMatrix1D x)
Solves the approximate problem with the given right hand side. |
void |
setMatrix(DoubleMatrix2D A)
Sets the operator matrix for the preconditioner. |
DoubleMatrix1D |
transApply(DoubleMatrix1D b,
DoubleMatrix1D x)
Solves the approximate transpose problem with the given right hand side. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DoubleILUT(RCMDoubleMatrix2D LU, double tau, int p)
LU
- Matrix to use internally. For best performance, its non-zero
pattern should conform to that of the system matrixtau
- Drop tolerancep
- Number of entries to keep on each row in of the factored
matrix. This is in addition to the entries of the original
matrixpublic DoubleILUT(RCMDoubleMatrix2D LU)
LU
- Matrix to use internally. For best performance, its non-zero
pattern should conform to that of the system matrixMethod Detail |
---|
public DoubleMatrix1D apply(DoubleMatrix1D b, DoubleMatrix1D x)
DoublePreconditioner
apply
in interface DoublePreconditioner
b
- Right hand side of problemx
- Result is stored here
public DoubleMatrix1D transApply(DoubleMatrix1D b, DoubleMatrix1D x)
DoublePreconditioner
transApply
in interface DoublePreconditioner
b
- Right hand side of problemx
- Result is stored here
public void setMatrix(DoubleMatrix2D A)
DoublePreconditioner
setMatrix
in interface DoublePreconditioner
A
- Matrix to setup the preconditioner for. Not modified
|
Parallel Colt 0.7.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |