|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.torstennahm.integrate.error.FastConvergenceEstimator
public class FastConvergenceEstimator
Provides an estimate based on the assumption that the integral values shows logarithmic convergence. By logarithmic convergence, we mean that log(error(n))=a-b*log(n), where n is the number of function evaluations, and a and b are parameters.
| Constructor Summary | |
|---|---|
FastConvergenceEstimator()
Create the convergence estimator with a default sample factor of 1.1. |
|
FastConvergenceEstimator(double sampleFactor)
Create the convergence estimator with the specified sample factor. |
|
| Method Summary | |
|---|---|
double |
getEstimate()
Returns the estimate of the integration error based on the log. |
double |
getSlope()
|
void |
log(long pointsEvaluated,
double currentValue)
Logs the current integration value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FastConvergenceEstimator()
FastConvergenceEstimator(double)public FastConvergenceEstimator(double sampleFactor)
sampleFactor - factor between interpolation points| Method Detail |
|---|
public void log(long pointsEvaluated,
double currentValue)
ErrorEstimator
log in interface ErrorEstimatorpointsEvaluated - number of function evaluations for this integral valuecurrentValue - current integral valuepublic double getEstimate()
ErrorEstimator
getEstimate in interface ErrorEstimatorpublic double getSlope()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||