net.finmath.marketdata.model.curves
Interface ForwardCurveInterface
-
- All Superinterfaces:
- java.lang.Cloneable, CurveInterface, ParameterObjectInterface
- All Known Implementing Classes:
- AbstractForwardCurve, ForwardCurve, ForwardCurveFromDiscountCurve, ForwardCurveNelsonSiegelSvensson, ForwardCurveWithFixings
public interface ForwardCurveInterface extends CurveInterface
The interface which is implemented by forward curves.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetDiscountCurveName()Returns the name of the discount curve associated with this forward curve.doublegetForward(AnalyticModelInterface model, double fixingTime)Returns the forward for the corresponding fixing time.doublegetForward(AnalyticModelInterface model, double fixingTime, double paymentOffset)Returns the forward for the corresponding fixing time.doublegetPaymentOffset(double fixingTime)Returns the payment offset associated with this forward curve and a corresponding fixingTime.-
Methods inherited from interface net.finmath.marketdata.model.curves.CurveInterface
clone, getCloneBuilder, getCloneForParameter, getName, getReferenceDate, getValue, getValue
-
Methods inherited from interface net.finmath.marketdata.calibration.ParameterObjectInterface
getParameter, setParameter
-
-
-
-
Method Detail
-
getForward
double getForward(AnalyticModelInterface model, double fixingTime)
Returns the forward for the corresponding fixing time.- Parameters:
model- An analytic model providing a context. Some curves do not need this (can be null).fixingTime- The fixing time of the index associated with this forward curve.- Returns:
- The forward.
-
getForward
double getForward(AnalyticModelInterface model, double fixingTime, double paymentOffset)
Returns the forward for the corresponding fixing time.- Parameters:
model- An analytic model providing a context. Some curves do not need this (can be null).fixingTime- The fixing time of the index associated with this forward curve.paymentOffset- The payment offset (as internal day count fraction) specifying the payment of this index. Used only as a fallback and/or consistency check.- Returns:
- The forward.
-
getDiscountCurveName
java.lang.String getDiscountCurveName()
Returns the name of the discount curve associated with this forward curve.- Returns:
- The name of the discount curve associated with this forward curve.
-
getPaymentOffset
double getPaymentOffset(double fixingTime)
Returns the payment offset associated with this forward curve and a corresponding fixingTime.- Parameters:
fixingTime- The fixing time of the index associated with this forward curve.- Returns:
- The payment offset associated with this forward curve.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG