public class DoubleBiCGstab extends AbstractDoubleIterativeSolver
Ax = b
using the Preconditioned BiConjugate Gradient Stabilized
methodConstructor and Description |
---|
DoubleBiCGstab(DoubleMatrix1D template)
Constructor for BiCGstab.
|
Modifier and Type | Method and Description |
---|---|
DoubleMatrix1D |
solve(DoubleMatrix2D A,
DoubleMatrix1D b,
DoubleMatrix1D x)
Solves the given problem, writing result into the vector.
|
getIterationMonitor, getPreconditioner, setIterationMonitor, setPreconditioner
public DoubleBiCGstab(DoubleMatrix1D template)
template
- Vector to use as template for the work vectors needed in the
solution processpublic 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 guessIterativeSolverDoubleNotConvergedException
Jump to the Parallel Colt Homepage