public class FloatBiCG extends AbstractFloatIterativeSolver
Ax = b
using the Preconditioned BiConjugate Gradient method.| Constructor and Description |
|---|
FloatBiCG(FloatMatrix1D template)
Constructor for BiCG.
|
| Modifier and Type | Method and Description |
|---|---|
FloatMatrix1D |
solve(FloatMatrix2D A,
FloatMatrix1D b,
FloatMatrix1D x)
Solves the given problem, writing result into the vector.
|
getIterationMonitor, getPreconditioner, setIterationMonitor, setPreconditionerpublic FloatBiCG(FloatMatrix1D template)
template - Vector to use as template for the work vectors needed in the
solution processpublic FloatMatrix1D solve(FloatMatrix2D A, FloatMatrix1D b, FloatMatrix1D x) throws IterativeSolverFloatNotConvergedException
FloatIterativeSolverA - Matrix of the problemb - Right hand sidex - Solution is stored here. Also used as initial guessIterativeSolverFloatNotConvergedExceptionJump to the Parallel Colt Homepage