public static class ContinuedFraction.MaxIterationsExceededException extends RuntimeException
RuntimeException
thrown when the continued fraction fails to converge for a given epsilon before a certain number of iterations.Constructor and Description |
---|
MaxIterationsExceededException(int nIterations)
Construct a new
MaxIterationsExceededException , indicating the number of iterations. |
Modifier and Type | Method and Description |
---|---|
int |
getMaxIterations()
Get the maximum number of iterations.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.