public interface FloatIterativeSolver
Ax=b
for x
, and it
supports preconditioning and convergence monitoring.Modifier and Type | Method and Description |
---|---|
FloatIterationMonitor |
getIterationMonitor()
Gets the iteration monitor
|
FloatPreconditioner |
getPreconditioner()
Gets preconditioner
|
void |
setIterationMonitor(FloatIterationMonitor iter)
Sets iteration monitor
|
void |
setPreconditioner(FloatPreconditioner M)
Sets preconditioner
|
FloatMatrix1D |
solve(FloatMatrix2D A,
FloatMatrix1D b,
FloatMatrix1D x)
Solves the given problem, writing result into the vector.
|
FloatMatrix1D solve(FloatMatrix2D A, FloatMatrix1D b, FloatMatrix1D x) throws IterativeSolverFloatNotConvergedException
A
- Matrix of the problemb
- Right hand sidex
- Solution is stored here. Also used as initial guessIterativeSolverFloatNotConvergedException
void setPreconditioner(FloatPreconditioner M)
M
- Preconditioner to useFloatPreconditioner getPreconditioner()
void setIterationMonitor(FloatIterationMonitor iter)
iter
- Iteration monitorFloatIterationMonitor getIterationMonitor()
Jump to the Parallel Colt Homepage