Interface Preconditioner
-
- All Known Implementing Classes:
IdentityPreconditioner,JacobiPreconditioner,SSORPreconditioner
public interface PreconditionerPreconditioning reduces the condition number of the coefficient matrix of a linear system to accelerate the convergence when the system is solved by an iterative method.- See Also:
- Wikipedia: Preconditioner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vectorsolve(Vector x)Solve Mv = x, where M is the preconditioner matrix.VectortransposeSolve(Vector x)Solve Mtv = x, where M is the preconditioner matrix.
-
-
-
Method Detail
-
solve
Vector solve(Vector x)
Solve Mv = x, where M is the preconditioner matrix. In effect, this method returns v as the product M-1x.- Parameters:
x- a vector- Returns:
- M-1x
-
transposeSolve
Vector transposeSolve(Vector x)
Solve Mtv = x, where M is the preconditioner matrix. In effect, this method returns v as the product M-tx. This method is usually called by a solver which solves a dual system Atx* = b*.BiconjugateGradientSolveris an example of such a solver.- Parameters:
x- a vector- Returns:
- M-tx
-
-