|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.imsl.math.EpsilonAlgorithm
public class EpsilonAlgorithm
The class is used to determine the limit of a sequence of approximations, by means of the Epsilon algorithm of P. Wynn. An estimate of the absolute error is also given. The condensed Epsilon table is computed. Only those elements needed for the computation of the next diagonal are preserved.
Constructor Summary | |
---|---|
EpsilonAlgorithm()
Initializes an EpsilonAlgorithm with a maximum table size of 50. |
|
EpsilonAlgorithm(int maxTableSize)
Initializes an EpsilonAlgorithm. |
Method Summary | |
---|---|
double |
extrapolate(double x)
Extrapolates the convergence limit of a sequence. |
double |
getErrorEstimate()
Returns the current error estimate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EpsilonAlgorithm()
public EpsilonAlgorithm(int maxTableSize)
maxTableSize
- The maximum table size.Method Detail |
---|
public double extrapolate(double x)
x
- is the next point in the original series.
public double getErrorEstimate()
|
JMSLTM Numerical Library 5.0.1 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |