public interface DiscountCurveInterface extends CurveInterface
Modifier and Type | Method and Description |
---|---|
double |
getDiscountFactor(AnalyticModelInterface model,
double maturity)
Returns the discount factor for the corresponding maturity.
|
double |
getDiscountFactor(double maturity)
Returns the discount factor for the corresponding maturity.
|
clone, getCloneBuilder, getCloneForParameter, getName, getReferenceDate, getValue, getValue
getParameter, setParameter
double getDiscountFactor(double maturity)
maturity
- The maturity for which the discount factor is requested.double getDiscountFactor(AnalyticModelInterface model, double maturity)
model
- An analytic model providing a context. Some curves do not need this (can be null).maturity
- The maturity for which the discount factor is requested.Copyright © 2015. All rights reserved.