|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.matrix.doubles.matrixtype.sparse.solver.iterative.preconditioner.SsorPreconditioner
public class SsorPreconditioner
SSOR preconditioner is derived from the symmetric coefficient matrix A which is decomposed as
A = D + L + LtThe SSOR preconditioning matrix is defined as
M = (D + L)D-1(D + L)tor, parameterized by ω
M(ω) = (1/(2 - ω))(D / ω + L)(D / ω)-1(D / ω + L)t
The optimal value of ω will reduce the number of iterations to a lower order. However, in practice, the spectral information for computing the optimal ω is expensive to obtain.
SymmetricSuccessiveOverrelaxationSolver| Constructor Summary | |
|---|---|
SsorPreconditioner(Matrix A,
double omega)
Create a SSOR preconditioner with a symmetric coefficient matrix. |
|
| Method Summary | |
|---|---|
Vector |
solve(Vector x)
Solve Mz = x using this SSOR preconditioner. |
Vector |
transposeSolve(Vector x)
M-tx = M-1x because M is symmetric. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SsorPreconditioner(Matrix A,
double omega)
A - the symmetric coefficient matrixomega - the extrapolation factor| Method Detail |
|---|
public Vector solve(Vector x)
solve in interface Preconditionerx -
public Vector transposeSolve(Vector x)
transposeSolve in interface Preconditionerx - the input Vector
solve(x)
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||