Class AdaptiveSimpsonIntegrator
java.lang.Object
org.episteme.core.mathematics.analysis.integration.AdaptiveSimpsonIntegrator
- All Implemented Interfaces:
Integrator
Adaptive Simpson's rule integration.
Uses Simpson's 1/3 rule with adaptive subdivision for accurate results. This is generally more accurate than trapezoidal rule for smooth functions.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AdaptiveSimpsonIntegrator
public AdaptiveSimpsonIntegrator()
-
-
Method Details
-
integrate
Description copied from interface:IntegratorComputes the definite integral of a function over [a, b].- Specified by:
integratein interfaceIntegrator- Parameters:
f- the function to integratea- the lower boundb- the upper bound- Returns:
- the approximate value of the integral
-
integrate
Description copied from interface:IntegratorComputes the definite integral with specified tolerance.- Specified by:
integratein interfaceIntegrator- Parameters:
f- the function to integratea- the lower boundb- the upper boundtolerance- the desired accuracy- Returns:
- the approximate value of the integral
-