|
Parallel Colt 0.7.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcern.colt.matrix.tdouble.algo.solver.AbstractDoubleIterativeSolver
cern.colt.matrix.tdouble.algo.solver.DoubleQMR
public class DoubleQMR
Quasi-Minimal Residual method. QMR solves the unsymmetric linear system
Ax = b using the Quasi-Minimal Residual method. QMR uses two
preconditioners, and by default these are the same preconditioner.
| Constructor Summary | |
|---|---|
DoubleQMR(DoubleMatrix1D template)
Constructor for QMR. |
|
DoubleQMR(DoubleMatrix1D template,
DoublePreconditioner M1,
DoublePreconditioner M2)
Constructor for QMR. |
|
| Method Summary | |
|---|---|
void |
setPreconditioner(DoublePreconditioner M)
Sets preconditioner |
DoubleMatrix1D |
solve(DoubleMatrix2D A,
DoubleMatrix1D b,
DoubleMatrix1D x)
Solves the given problem, writing result into the vector. |
| Methods inherited from class cern.colt.matrix.tdouble.algo.solver.AbstractDoubleIterativeSolver |
|---|
getIterationMonitor, getPreconditioner, setIterationMonitor |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleQMR(DoubleMatrix1D template)
template - Vector to use as template for the work vectors needed in the
solution process
public DoubleQMR(DoubleMatrix1D template,
DoublePreconditioner M1,
DoublePreconditioner M2)
template - Vector to use as template for the work vectors needed in the
solution processM1 - Left preconditionerM2 - Right preconditioner| Method Detail |
|---|
public DoubleMatrix1D solve(DoubleMatrix2D A,
DoubleMatrix1D b,
DoubleMatrix1D x)
throws IterativeSolverDoubleNotConvergedException
DoubleIterativeSolver
A - Matrix of the problemb - Right hand sidex - Solution is stored here. Also used as initial guess
IterativeSolverDoubleNotConvergedExceptionpublic void setPreconditioner(DoublePreconditioner M)
DoubleIterativeSolver
setPreconditioner in interface DoubleIterativeSolversetPreconditioner in class AbstractDoubleIterativeSolverM - Preconditioner to use
|
Parallel Colt 0.7.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||