de.torstennahm.integrate
Interface IntegrationResult


public interface IntegrationResult

This interface models the result of an integration. The result consists of the estimated value, its estimated error and the number of function evaluations used for the integration.

Author:
Torsten Nahm

Method Summary
 double errorEstimate()
          Returns the error estimate for the integral value.
 long functionCalls()
          Returns the number of times the integrand function has been evaluated.
 java.util.Set<IntegrationInfo> supplementalInfo()
          Returns a set of integration information that provide supplementary or additional information on the integration process and result.
 double value()
          Returns the estimated integral value.
 

Method Detail

value

double value()
Returns the estimated integral value. Double.NaN is returned if no estimate is available.

Returns:
integral value

errorEstimate

double errorEstimate()
Returns the error estimate for the integral value. Double.NaN is returned if no estimate is available.

Returns:
error estimate of integral value

functionCalls

long functionCalls()
Returns the number of times the integrand function has been evaluated.

Returns:
number of evaluations

supplementalInfo

java.util.Set<IntegrationInfo> supplementalInfo()
Returns a set of integration information that provide supplementary or additional information on the integration process and result. The set may be empty.

Returns:
set of integration information