| Modifier and Type | Method and Description |
|---|---|
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.
|
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 guessIterativeSolverNotConvergedExceptionvoid setPreconditioner(Preconditioner M)
M - Preconditioner to usePreconditioner getPreconditioner()
void setIterationMonitor(IterationMonitor iter)
iter - Iteration monitorIterationMonitor getIterationMonitor()
Copyright © 2015. All Rights Reserved.