|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.uib.cipr.matrix.sparse.AbstractIterativeSolver
public abstract class AbstractIterativeSolver
Partial implementation of an iterative solver
| Field Summary | |
|---|---|
protected IterationMonitor |
iter
Iteration monitor |
protected Preconditioner |
M
Preconditioner to use |
| Constructor Summary | |
|---|---|
AbstractIterativeSolver()
Constructor for AbstractIterativeSolver. |
|
| Method Summary | |
|---|---|
protected void |
checkSizes(Matrix A,
Vector b,
Vector x)
Checks sizes of input data for IterativeSolver.solve(Matrix, Vector, Vector). |
IterationMonitor |
getIterationMonitor()
Gets the iteration monitor |
Preconditioner |
getPreconditioner()
Gets preconditioner |
void |
setIterationMonitor(IterationMonitor iter)
Sets iteration monitor |
void |
setPreconditioner(Preconditioner M)
Sets preconditioner |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface no.uib.cipr.matrix.sparse.IterativeSolver |
|---|
solve |
| Field Detail |
|---|
protected Preconditioner M
protected IterationMonitor iter
| Constructor Detail |
|---|
public AbstractIterativeSolver()
| Method Detail |
|---|
public void setPreconditioner(Preconditioner M)
IterativeSolver
setPreconditioner in interface IterativeSolverM - Preconditioner to usepublic Preconditioner getPreconditioner()
IterativeSolver
getPreconditioner in interface IterativeSolverpublic IterationMonitor getIterationMonitor()
IterativeSolver
getIterationMonitor in interface IterativeSolverpublic void setIterationMonitor(IterationMonitor iter)
IterativeSolver
setIterationMonitor in interface IterativeSolveriter - Iteration monitor
protected void checkSizes(Matrix A,
Vector b,
Vector x)
IterativeSolver.solve(Matrix, Vector, Vector).
Throws an exception if the sizes does not match.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||