24 const DayCounter& dc,
const bool purelyTimeBased,
25 const bool cacheValues)
26 : YieldTermStructure(dc == DayCounter() ? model->parametrization()->termStructure()->dayCounter() : dc),
27 cacheValues_(cacheValues), model_(model), purelyTimeBased_(purelyTimeBased),
28 referenceDate_(purelyTimeBased ? Null<Date>() : model_->parametrization()->termStructure()->referenceDate()),
35 const Handle<YieldTermStructure> targetCurve,
36 const DayCounter& dc,
const bool purelyTimeBased,
37 const bool cacheValues)
49 const Handle<YieldTermStructure> targetCurve,
50 const DayCounter& dc,
const bool purelyTimeBased,
51 const bool cacheValues)
Lgm Implied Yield Term Structure.
LgmImpliedYieldTermStructure(const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > &model, const DayCounter &dc=DayCounter(), const bool purelyTimeBased=false, const bool cacheValues=false)
virtual void update() override
const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > model_
LgmImpliedYtsFwdFwdCorrected(const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > &model, const Handle< YieldTermStructure > targetCurve, const DayCounter &dc=DayCounter(), const bool purelyTimeBased=false, const bool cacheValues=false)
const Handle< YieldTermStructure > targetCurve_
const Handle< YieldTermStructure > targetCurve_
LgmImpliedYtsSpotCorrected(const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > &model, const Handle< YieldTermStructure > targetCurve, const DayCounter &dc, const bool purelyTimeBased, const bool cacheValues=false)
yield term structure implied by a LGM model