finMath lib documentation

net.finmath.integration
Class AbstractRealIntegral

java.lang.Object
  extended by net.finmath.integration.AbstractRealIntegral
All Implemented Interfaces:
RealIntegralInterface
Direct Known Subclasses:
MonteCarloIntegrator, SimpsonRealIntegrator

public abstract class AbstractRealIntegral
extends Object
implements RealIntegralInterface

A real integral with lower and upper integration bounds.

Author:
Christian Fries

Constructor Summary
AbstractRealIntegral(double lowerBound, double upperBound)
          Create a real integral with lower and upper integration bounds.
 
Method Summary
 double getLowerBound()
          Get the lower integration bound.
 double getUpperBound()
          Get the upper integration bound.
abstract  double integrate(DoubleUnaryOperator integrand)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(DoubleUnaryOperator integrand)
Specified by:
integrate in interface RealIntegralInterface

Copyright © 2014 Christian P. Fries.

Copyright © 2014. All rights reserved.