net.finmath.integration
Class AbstractRealIntegral
- java.lang.Object
-
- net.finmath.integration.AbstractRealIntegral
-
- All Implemented Interfaces:
- RealIntegralInterface
- Direct Known Subclasses:
- MonteCarloIntegrator, RombergRealIntegration, SimpsonRealIntegrator
public abstract class AbstractRealIntegral extends java.lang.Object implements RealIntegralInterface
A real integral with lower and upper integration bounds.
-
-
Constructor Summary
Constructors Constructor and 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 and Description doublegetLowerBound()Get the lower integration bound.doublegetUpperBound()Get the upper integration bound.abstract doubleintegrate(java.util.function.DoubleUnaryOperator integrand)
-
-
-
Constructor Detail
-
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 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(java.util.function.DoubleUnaryOperator integrand)
- Specified by:
integratein interfaceRealIntegralInterface
-
-
DataMelt 3.0 © DataMelt by jWork.ORG