public class ConvergenceFailure extends Exception
IterativeLinearSystemSolver.solve(dev.nm.algebra.linear.matrix.doubles.linearsystem.LSProblem, dev.nm.misc.algorithm.iterative.monitor.IterationMonitor)
when the iterative algorithm detects a breakdown or fails to converge.| Modifier and Type | Class and Description |
|---|---|
static class |
ConvergenceFailure.Reason
the reasons for the convergence failure
|
| Constructor and Description |
|---|
ConvergenceFailure(ConvergenceFailure.Reason reason)
Construct an exception with reason.
|
ConvergenceFailure(ConvergenceFailure.Reason reason,
String message)
Construct an exception with reason and error message.
|
| Modifier and Type | Method and Description |
|---|---|
ConvergenceFailure.Reason |
getReason()
Get the reason for the convergence failure.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConvergenceFailure(ConvergenceFailure.Reason reason)
reason - the reason for the failurepublic ConvergenceFailure(ConvergenceFailure.Reason reason, String message)
reason - the reason for the failuremessage - the error messagepublic ConvergenceFailure.Reason getReason()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.