public interface DiscountCurveInterface extends Curve
| Modifier and Type | Method and Description |
|---|---|
RandomVariable |
getDiscountFactor(AnalyticModel model,
double maturity)
Returns the discount factor for the corresponding maturity.
|
RandomVariable |
getDiscountFactor(double maturity)
Returns the discount factor for the corresponding maturity.
|
clone, getCloneBuilder, getCloneForParameter, getName, getReferenceDate, getValue, getValuegetParameter, setParameterRandomVariable getDiscountFactor(double maturity)
maturity - The maturity for which the discount factor is requested.RandomVariable getDiscountFactor(AnalyticModel 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 © 2019. All rights reserved.