- java.lang.Object
-
- net.finmath.integration.AbstractRealIntegral
-
- All Implemented Interfaces:
RealIntegral
- Direct Known Subclasses:
MonteCarloIntegrator
,RombergRealIntegration
,SimpsonRealIntegrator
,TrapezoidalRealIntegrator
public abstract class AbstractRealIntegral extends Object implements RealIntegral
A real integral with lower and upper integration bounds.- Version:
- 1.0
- Author:
- Christian Fries
-
-
Constructor Summary
Constructors Constructor Description AbstractRealIntegral(double lowerBound, double upperBound)
Create a real integral with lower and upper integration bounds.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description double
getLowerBound()
Get the lower integration bound.double
getUpperBound()
Get the upper integration bound.abstract double
integrate(DoubleUnaryOperator integrand)
-
-
-
Method Detail
-
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
public abstract double integrate(DoubleUnaryOperator integrand)
- Specified by:
integrate
in interfaceRealIntegral
-
-