java.lang.Object
net.finmath.integration.AbstractRealIntegral
- All Implemented Interfaces:
RealIntegral
- Direct Known Subclasses:
MonteCarloIntegrator
,RombergRealIntegration
,SimpsonRealIntegrator
,TrapezoidalRealIntegrator
A real integral with lower and upper integration bounds.
- Version:
- 1.0
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractRealIntegral(double lowerBound, double upperBound)
Create a real integral with lower and upper integration bounds. -
Method Summary
Modifier and TypeMethodDescriptiondouble
Get the lower integration bound.double
Get the upper integration bound.abstract double
integrate(DoubleUnaryOperator integrand)
-
Constructor Details
-
AbstractRealIntegral
public AbstractRealIntegral(double lowerBound, double upperBound)Create a real integral with lower and upper integration bounds.- Parameters:
lowerBound
- Lower integration bound.upperBound
- Upper integration bound.
-
-
Method Details
-
getLowerBound
public double getLowerBound()Get the lower integration bound.- Returns:
- the lower integration bound.
-
getUpperBound
public double getUpperBound()Get the upper integration bound.- Returns:
- the upper integration bound.
-
integrate
- Specified by:
integrate
in interfaceRealIntegral
-