Class CurveInterpolation

java.lang.Object
net.finmath.marketdata2.model.curves.AbstractCurve
net.finmath.marketdata2.model.curves.CurveInterpolation
All Implemented Interfaces:
Serializable, Cloneable, ParameterObject, Curve
Direct Known Subclasses:
AbstractForwardCurve, DiscountCurveInterpolation

public class CurveInterpolation
extends AbstractCurve
implements Serializable, Cloneable
This class represents a curveFromInterpolationPoints build from a set of points in 2D. It provides different interpolation and extrapolation methods applied to a transformation of the input point, examples are
  • linear interpolation of the input points
  • linear interpolation of the log of the input points
  • linear interpolation of the log of the input points divided by their respective time
  • cubic spline interpolation of the input points (or a function of the input points) (the curveFromInterpolationPoints will be C1).
  • Akima interpolation of the input points (or a function of the input points).
  • etc.

For the interpolation methods provided see CurveInterpolation.InterpolationMethod. For the extrapolation methods provided see CurveInterpolation.ExtrapolationMethod. For the possible interpolation entities see CurveInterpolation.InterpolationEntity. To construct the curveFromInterpolationPoints, please use the inner class CurveBuilder (a builder pattern). For a demo on how to construct and/or calibrate a curveFromInterpolationPoints see, e.g. net.finmath.tests.marketdata.curves.CurveTest.
Version:
1.0
Author:
Christian Fries
See Also:
Serialized Form