cern.colt.matrix.tdouble.algo.solver
Class IterativeSolverDoubleNotConvergedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cern.colt.matrix.tdouble.algo.solver.DoubleNotConvergedException
cern.colt.matrix.tdouble.algo.solver.IterativeSolverDoubleNotConvergedException
- All Implemented Interfaces:
- Serializable
public class IterativeSolverDoubleNotConvergedException
- extends DoubleNotConvergedException
Exception for lack of convergence in a linear problem. Contains the final
computed residual.
- See Also:
- Serialized Form
Method Summary |
int |
getIterations()
Gets the number of iterations used when this exception was thrown |
double |
getResidual()
Returns final computed residual |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IterativeSolverDoubleNotConvergedException
public IterativeSolverDoubleNotConvergedException(DoubleNotConvergedException.Reason reason,
String message,
DoubleIterationMonitor iter)
- Constructor for IterativeSolverNotConvergedException
- Parameters:
reason
- Reason for this exceptionmessage
- A more detailed messageiter
- Associated iteration monitor, for extracting residual and
iteration number
IterativeSolverDoubleNotConvergedException
public IterativeSolverDoubleNotConvergedException(DoubleNotConvergedException.Reason reason,
DoubleIterationMonitor iter)
- Constructor for IterativeSolverNotConvergedException
- Parameters:
reason
- Reason for this exceptioniter
- Associated iteration monitor, for extracting residual and
iteration number
getResidual
public double getResidual()
- Returns final computed residual
getIterations
public int getIterations()
- Gets the number of iterations used when this exception was thrown
Jump to the Parallel Colt Homepage