cern.colt.matrix.tfloat.algo.solver
Class IterativeSolverFloatNotConvergedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
cern.colt.matrix.tfloat.algo.solver.FloatNotConvergedException
cern.colt.matrix.tfloat.algo.solver.IterativeSolverFloatNotConvergedException
- All Implemented Interfaces:
- Serializable
public class IterativeSolverFloatNotConvergedException
- extends FloatNotConvergedException
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 |
float |
getResidual()
Returns final computed residual |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IterativeSolverFloatNotConvergedException
public IterativeSolverFloatNotConvergedException(FloatNotConvergedException.Reason reason,
String message,
FloatIterationMonitor iter)
- Constructor for IterativeSolverNotConvergedException
- Parameters:
reason
- Reason for this exceptionmessage
- A more detailed messageiter
- Associated iteration monitor, for extracting residual and
iteration number
IterativeSolverFloatNotConvergedException
public IterativeSolverFloatNotConvergedException(FloatNotConvergedException.Reason reason,
FloatIterationMonitor iter)
- Constructor for IterativeSolverNotConvergedException
- Parameters:
reason
- Reason for this exceptioniter
- Associated iteration monitor, for extracting residual and
iteration number
getResidual
public float 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