public interface Preconditioner
setMatrix
must be calledModifier and Type | Method and Description |
---|---|
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.
|
Vector apply(Vector b, Vector x)
b
- Right hand side of problemx
- Result is stored hereVector transApply(Vector b, Vector x)
b
- Right hand side of problemx
- Result is stored herevoid setMatrix(Matrix A)
A
- Matrix to setup the preconditioner for. Not modified