24 const DayCounter& dc,
const bool purelyTimeBased)
25 : YieldTermStructure(dc == DayCounter() ? model->termStructure()->dayCounter() : dc), model_(model),
26 purelyTimeBased_(purelyTimeBased),
27 referenceDate_(purelyTimeBased ? Null<Date>() : model_->termStructure()->referenceDate()),
28 state_(Array(model->n(), 0.0)) {
34 const Handle<YieldTermStructure> targetCurve,
35 const DayCounter& dc,
const bool purelyTimeBased)
41 const Handle<YieldTermStructure> targetCurve,
42 const DayCounter& dc,
const bool purelyTimeBased)
IR Implied Yield Term Structure.
virtual void update() override
const QuantLib::ext::shared_ptr< IrModel > model_
ModelImpliedYieldTermStructure(const QuantLib::ext::shared_ptr< IrModel > &model, const DayCounter &dc=DayCounter(), const bool purelyTimeBased=false)
const Handle< YieldTermStructure > targetCurve_
ModelImpliedYtsFwdFwdCorrected(const QuantLib::ext::shared_ptr< IrModel > &model, const Handle< YieldTermStructure > targetCurve, const DayCounter &dc=DayCounter(), const bool purelyTimeBased=false)
const Handle< YieldTermStructure > targetCurve_
ModelImpliedYtsSpotCorrected(const QuantLib::ext::shared_ptr< IrModel > &model, const Handle< YieldTermStructure > targetCurve, const DayCounter &dc, const bool purelyTimeBased)
yield term structure implied by an IR model