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 Details

    • epoch

      public JulianDate epoch()
      Description copied from interface: Curve
      Get the Epoch Date
      Returns:
      The Epoch Date
    • currency

      public java.lang.String currency()
      Description copied from interface: Curve
      Get the Currency
      Returns:
      Currency
    • zeroRate

      public abstract double zeroRate​(int date) throws java.lang.Exception
      Retrieve 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