public class DoubleCGLS extends AbstractDoubleIterativeSolver
Reference:
A. Bjorck, "Numerical Methods for Least Squares Problems" SIAM, 1996, pg. 289.
Modifier and Type | Field and Description |
---|---|
static double |
sqrteps |
Constructor and Description |
---|
DoubleCGLS() |
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 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