Class ContinuedFraction.MaxIterationsExceededException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.nm.analysis.function.rn2r1.univariate.ContinuedFraction.MaxIterationsExceededException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ContinuedFraction
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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MaxIterationsExceededException(int nIterations)
Construct a newMaxIterationsExceededException
, indicating the number of iterations.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxIterations()
Get the maximum number of iterations.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-