Lgm Implied Yield Term Structure. More...
#include <qle/models/lgmimpliedyieldtermstructure.hpp>
Public Member Functions | |
LgmImpliedYieldTermStructure (const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > &model, const DayCounter &dc=DayCounter(), const bool purelyTimeBased=false, const bool cacheValues=false) | |
Date | maxDate () const override |
Time | maxTime () const override |
const Date & | referenceDate () const override |
virtual void | referenceDate (const Date &d) |
virtual void | referenceTime (const Time t) |
void | state (const Real s) |
void | move (const Date &d, const Real s) |
void | move (const Time t, const Real s) |
virtual void | update () override |
Protected Member Functions | |
Real | discountImpl (Time t) const override |
Protected Attributes | |
Real | dt_ |
Real | zeta_ |
Real | Ht_ |
bool | cacheValues_ |
const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > | model_ |
const bool | purelyTimeBased_ |
Date | referenceDate_ |
Real | relativeTime_ |
Real | state_ |
Lgm Implied Yield Term Structure.
The termstructure has the reference date of the model's termstructure at construction, but you can vary this as well as the state. The purely time based variant is mainly there for performance reasons, note that it does not provide the full term structure interface and does not send notifications on reference time updates.
\ingroup models
Definition at line 46 of file lgmimpliedyieldtermstructure.hpp.
LgmImpliedYieldTermStructure | ( | const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > & | model, |
const DayCounter & | dc = DayCounter() , |
||
const bool | purelyTimeBased = false , |
||
const bool | cacheValues = false |
||
) |
Definition at line 23 of file lgmimpliedyieldtermstructure.cpp.
|
override |
Definition at line 121 of file lgmimpliedyieldtermstructure.hpp.
|
override |
Definition at line 127 of file lgmimpliedyieldtermstructure.hpp.
|
override |
Definition at line 132 of file lgmimpliedyieldtermstructure.hpp.
|
virtual |
Reimplemented in LgmImpliedYtsFwdFwdCorrected.
Definition at line 138 of file lgmimpliedyieldtermstructure.hpp.
|
virtual |
Reimplemented in LgmImpliedYtsFwdFwdCorrected.
Definition at line 158 of file lgmimpliedyieldtermstructure.hpp.
void state | ( | const Real | s | ) |
Definition at line 178 of file lgmimpliedyieldtermstructure.hpp.
void move | ( | const Date & | d, |
const Real | s | ||
) |
Definition at line 183 of file lgmimpliedyieldtermstructure.hpp.
void move | ( | const Time | t, |
const Real | s | ||
) |
Definition at line 189 of file lgmimpliedyieldtermstructure.hpp.
|
overridevirtual |
Definition at line 196 of file lgmimpliedyieldtermstructure.hpp.
|
overrideprotected |
Definition at line 205 of file lgmimpliedyieldtermstructure.hpp.
|
mutableprotected |
Definition at line 67 of file lgmimpliedyieldtermstructure.hpp.
|
mutableprotected |
Definition at line 68 of file lgmimpliedyieldtermstructure.hpp.
|
mutableprotected |
Definition at line 69 of file lgmimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 70 of file lgmimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 72 of file lgmimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 73 of file lgmimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 74 of file lgmimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 75 of file lgmimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 75 of file lgmimpliedyieldtermstructure.hpp.