Package org.drip.state.discount
Class ZeroCurve
java.lang.Object
org.drip.state.discount.DiscountCurve
org.drip.state.discount.ZeroCurve
- All Implemented Interfaces:
Curve,DiscountFactorEstimator,LatentState
- Direct Known Subclasses:
DerivedZeroRate
public abstract class ZeroCurve extends DiscountCurve
ZeroCurve exposes the node set containing the zero curve node points. In addition to the discount
curve functionality that it automatically provides by extension, it provides the functionality to
calculate the zero rate.
| Module | Product Core Module |
| Library | Fixed Income Analytics |
| Project | Latent State Inference and Creation Utilities |
| Package | Discount Curve Spline Latent State |
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description java.lang.Stringcurrency()Get the CurrencyJulianDateepoch()Get the Epoch Dateabstract doublezeroRate(int date)Retrieve the zero rate corresponding to the given dateMethods inherited from class org.drip.state.discount.DiscountCurve
flatForward, flatNativeForward, flatNativeForward, flatNativeForwardEIMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drip.analytics.definition.Curve
calibComp, label, manifestMeasure, setCCISMethods inherited from interface org.drip.state.discount.DiscountFactorEstimator
df, df, df, effectiveDF, effectiveDF, effectiveDFMethods inherited from interface org.drip.state.representation.LatentState
customTweakManifestMeasure, customTweakQuantificationMetric, parallelShiftManifestMeasure, parallelShiftQuantificationMetric, shiftManifestMeasure
-
Method Details
-
epoch
Description copied from interface:CurveGet the Epoch Date- Returns:
- The Epoch Date
-
currency
public java.lang.String currency()Description copied from interface:CurveGet the Currency- Returns:
- Currency
-
zeroRate
public abstract double zeroRate(int date) throws java.lang.ExceptionRetrieve the zero rate corresponding to the given date- Parameters:
date- Date for which the zero rate is requested- Returns:
- Zero Rate
- Throws:
java.lang.Exception- Thrown if the date is not represented in the map
-