|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IterativeSolver
Iterative linear solver. Solves Ax=b for x,
and it supports preconditioning and convergence monitoring.
| Method Summary | |
|---|---|
IterationMonitor |
getIterationMonitor()
Gets the iteration monitor |
Preconditioner |
getPreconditioner()
Gets preconditioner |
void |
setIterationMonitor(IterationMonitor iter)
Sets iteration monitor |
void |
setPreconditioner(Preconditioner M)
Sets preconditioner |
Vector |
solve(Matrix A,
Vector b,
Vector x)
Solves the given problem, writing result into the vector. |
| Method Detail |
|---|
Vector solve(Matrix A,
Vector b,
Vector x)
throws IterativeSolverNotConvergedException
A - Matrix of the problemb - Right hand sidex - Solution is stored here. Also used as initial guess
IterativeSolverNotConvergedExceptionvoid setPreconditioner(Preconditioner M)
M - Preconditioner to usePreconditioner getPreconditioner()
void setIterationMonitor(IterationMonitor iter)
iter - Iteration monitorIterationMonitor getIterationMonitor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||