java.lang.Object
net.finmath.integration.AbstractRealIntegral
net.finmath.integration.RombergRealIntegration
- All Implemented Interfaces:
RealIntegral
Implements a Romberg integrator.
The class is actually a wrapper to the Romberg integrator in commons-math.
- Version:
- 1.0
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescriptionRombergRealIntegration(double lowerBound, double upperBound, int numberOfEvaluationPoints)
Create a Romberg integrator. -
Method Summary
Methods inherited from class net.finmath.integration.AbstractRealIntegral
getLowerBound, getUpperBound
-
Constructor Details
-
RombergRealIntegration
public RombergRealIntegration(double lowerBound, double upperBound, int numberOfEvaluationPoints)Create a Romberg integrator.- Parameters:
lowerBound
- Lower bound of the integral.upperBound
- Upper bound of the integral.numberOfEvaluationPoints
- Maximum number of evaluation points to be used.
-
-
Method Details
-
integrate
- Specified by:
integrate
in interfaceRealIntegral
- Specified by:
integrate
in classAbstractRealIntegral
-