|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.numericalmethod.suanshu.analysis.uniroot.Uniroot.NoRootFoundException
public static class Uniroot.NoRootFoundException
Exception thrown when it fails to find a root.
It may contain some information about the state before it throws the exceptions. It may be be useful in situations where some root is needed at the sacrifice of accuracy.
| Field Summary | |
|---|---|
double |
fx
f(x) |
double |
x
the best approximate root found so far |
| Constructor Summary | |
|---|---|
Uniroot.NoRootFoundException(double x,
double fx)
Construct a NoRootFoundException instance. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final double x
public final double fx
f(x)
| Constructor Detail |
|---|
public Uniroot.NoRootFoundException(double x,
double fx)
This object gives a snapshot/information of the uniroot algorithm before it throws the exception.
x - the best approximate root found before throwing exceptionfx - the value f(x)
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||