|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectno.uib.cipr.matrix.sparse.ILU
public class ILU
ILU(0) preconditioner using a compressed row matrix as internal storage
Constructor Summary | |
---|---|
ILU(CompRowMatrix LU)
Sets up the ILU preconditioner |
Method Summary | |
---|---|
Vector |
apply(Vector b,
Vector x)
Solves the approximate problem with the given right hand side. |
void |
setMatrix(Matrix A)
Sets the operator matrix for the preconditioner. |
Vector |
transApply(Vector b,
Vector x)
Solves the approximate transpose problem with the given right hand side. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ILU(CompRowMatrix LU)
LU
- Matrix to use internally. For best performance, its non-zero
pattern must conform to that of the system matrixMethod Detail |
---|
public Vector apply(Vector b, Vector x)
Preconditioner
apply
in interface Preconditioner
b
- Right hand side of problemx
- Result is stored here
public Vector transApply(Vector b, Vector x)
Preconditioner
transApply
in interface Preconditioner
b
- Right hand side of problemx
- Result is stored here
public void setMatrix(Matrix A)
Preconditioner
setMatrix
in interface Preconditioner
A
- Matrix to setup the preconditioner for. Not modified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |