类 OverflowException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.ArithmeticException
cn.nkpro.elcube.utils.xirr.OverflowException
- 所有已实现的接口:
Serializable
- 直接已知子类:
ZeroValuedDerivativeException
Indicates that the algorithm failed to converge due to one of the values
(either the candidate value, the function value or derivative value) being
an invalid double (NaN, Infinity or -Infinity) or other condition leading to
an overflow.
- 另请参阅:
- 序列化表格
-
方法概要
修饰符和类型方法说明doubleGet the candidate value when the overflow condition occurred.Get the derivative value when the overflow condition occurred.doubleGet the initial guess used by the algorithm.longGet the number of iterations passed when encountering the overflow.doublegetValue()Get the function value when the overflow condition occurred.toString()
-
方法详细资料
-
getInitialGuess
public double getInitialGuess()Get the initial guess used by the algorithm.- 返回:
- the initial guess
-
getIteration
public long getIteration()Get the number of iterations passed when encountering the overflow.- 返回:
- the number of iterations passed when encountering the overflow condition
-
getCandidate
public double getCandidate()Get the candidate value when the overflow condition occurred.- 返回:
- the candidate value when the overflow condition occurred
-
getValue
public double getValue()Get the function value when the overflow condition occurred.- 返回:
- the function value when the overflow condition occurred
-
getDerivativeValue
Get the derivative value when the overflow condition occurred. A null value indicates the derivative was not yet calculated.- 返回:
- the derivative value when the overflow condition occurred
-
toString
-