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