IR Implied Yield Term Structure. More...
#include <qle/models/modelimpliedyieldtermstructure.hpp>
Public Member Functions | |
ModelImpliedYieldTermStructure (const QuantLib::ext::shared_ptr< IrModel > &model, const DayCounter &dc=DayCounter(), const bool purelyTimeBased=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 Array &s) |
void | move (const Date &d, const Array &s) |
void | move (const Time t, const Array &s) |
virtual void | update () override |
Protected Member Functions | |
Real | discountImpl (Time t) const override |
Protected Attributes | |
const QuantLib::ext::shared_ptr< IrModel > | model_ |
const bool | purelyTimeBased_ |
Date | referenceDate_ |
Real | relativeTime_ |
Array | state_ |
IR 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 perfomance 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 modelimpliedyieldtermstructure.hpp.
ModelImpliedYieldTermStructure | ( | const QuantLib::ext::shared_ptr< IrModel > & | model, |
const DayCounter & | dc = DayCounter() , |
||
const bool | purelyTimeBased = false |
||
) |
Definition at line 23 of file modelimpliedyieldtermstructure.cpp.
|
override |
Definition at line 116 of file modelimpliedyieldtermstructure.hpp.
|
override |
Definition at line 122 of file modelimpliedyieldtermstructure.hpp.
|
override |
Definition at line 127 of file modelimpliedyieldtermstructure.hpp.
|
virtual |
Reimplemented in ModelImpliedYtsFwdFwdCorrected.
Definition at line 133 of file modelimpliedyieldtermstructure.hpp.
|
virtual |
Reimplemented in ModelImpliedYtsFwdFwdCorrected.
Definition at line 147 of file modelimpliedyieldtermstructure.hpp.
void state | ( | const Array & | s | ) |
Definition at line 161 of file modelimpliedyieldtermstructure.hpp.
void move | ( | const Date & | d, |
const Array & | s | ||
) |
Definition at line 166 of file modelimpliedyieldtermstructure.hpp.
void move | ( | const Time | t, |
const Array & | s | ||
) |
Definition at line 171 of file modelimpliedyieldtermstructure.hpp.
|
overridevirtual |
Definition at line 177 of file modelimpliedyieldtermstructure.hpp.
|
overrideprotected |
Definition at line 184 of file modelimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 67 of file modelimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 68 of file modelimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 69 of file modelimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 70 of file modelimpliedyieldtermstructure.hpp.
|
protected |
Definition at line 71 of file modelimpliedyieldtermstructure.hpp.