net.finmath.integration
Class RombergRealIntegration
- java.lang.Object
-
- net.finmath.integration.AbstractRealIntegral
-
- net.finmath.integration.RombergRealIntegration
-
- All Implemented Interfaces:
- RealIntegralInterface
public class RombergRealIntegration extends AbstractRealIntegral
Implements a Romberg integrator. The class is actually a wrapper to the Romberg integrator in commons-math.
-
-
Constructor Summary
Constructors Constructor and Description RombergRealIntegration(double lowerBound, double upperBound, int numberOfEvaluationPoints)Create a Romberg integrator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleintegrate(java.util.function.DoubleUnaryOperator integrand)-
Methods inherited from class net.finmath.integration.AbstractRealIntegral
getLowerBound, getUpperBound
-
-
-
-
Constructor Detail
-
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 Detail
-
integrate
public double integrate(java.util.function.DoubleUnaryOperator integrand)
- Specified by:
integratein interfaceRealIntegralInterface- Specified by:
integratein classAbstractRealIntegral
-
-
DataMelt 3.0 © DataMelt by jWork.ORG