#include <qle/models/jyimpliedyoyinflationtermstructure.hpp>
Public Member Functions | |
JyImpliedYoYInflationTermStructure (const QuantLib::ext::shared_ptr< CrossAssetModel > &model, QuantLib::Size index, bool indexIsInterpolated) | |
Public Member Functions inherited from YoYInflationModelTermStructure | |
YoYInflationModelTermStructure (const QuantLib::ext::shared_ptr< CrossAssetModel > &model, QuantLib::Size index, bool indexIsInterpolated) | |
void | update () override |
QuantLib::Date | maxDate () const override |
QuantLib::Time | maxTime () const override |
const QuantLib::Date & | referenceDate () const override |
QuantLib::Date | baseDate () const override |
virtual void | referenceDate (const QuantLib::Date &d) |
Set the reference date. More... | |
void | state (const QuantLib::Array &s) |
Set the current state variables. More... | |
void | move (const QuantLib::Date &d, const QuantLib::Array &s) |
Set the current state and move the reference date to date d . More... | |
QuantLib::Real | yoyRate (const QuantLib::Date &d, const QuantLib::Period &obsLag=-1 *QuantLib::Days, bool forceLinearInterpolation=false, bool extrapolate=false) const |
YoYInflationModelTermStructure interface | |
std::map< QuantLib::Date, QuantLib::Real > | yoyRates (const std::vector< QuantLib::Date > &dates, const QuantLib::Period &obsLag=-1 *QuantLib::Days) const override |
QuantLib::Real | yoySwaplet (QuantLib::Time S, QuantLib::Time T) const |
Year on year swaplet price for the period from S to T . More... | |
void | checkState () const override |
Additional Inherited Members | |
Protected Member Functions inherited from YoYInflationModelTermStructure | |
QuantLib::Real | yoyRateImpl (QuantLib::Time t) const override |
This cannot be called. The implementation is set to throw an exception. More... | |
Protected Attributes inherited from YoYInflationModelTermStructure | |
QuantLib::ext::shared_ptr< CrossAssetModel > | model_ |
QuantLib::Size | index_ |
bool | indexIsInterpolated_ |
QuantLib::Date | referenceDate_ |
QuantLib::Time | relativeTime_ |
QuantLib::Array | state_ |
Jarrow Yildrim (JY) implied year on year inflation term structure
Definition at line 35 of file jyimpliedyoyinflationtermstructure.hpp.
JyImpliedYoYInflationTermStructure | ( | const QuantLib::ext::shared_ptr< CrossAssetModel > & | model, |
QuantLib::Size | index, | ||
bool | indexIsInterpolated | ||
) |
Constructor taking the cross asset model, model
, and the index of the relevant inflation component within the model, index
.
Definition at line 45 of file jyimpliedyoyinflationtermstructure.cpp.
|
overridevirtual |
Return the year-on-year rates for the maturities associated with dates
. If an obsLag
is explicitly provided and not set to -1 * QuantLib::Days
, it is used as the observation lag. Otherwise, the term structure's observation lag is used.
Implements YoYInflationModelTermStructure.
Definition at line 49 of file jyimpliedyoyinflationtermstructure.cpp.
|
protected |
Year on year swaplet price for the period from S
to T
.
Definition at line 164 of file jyimpliedyoyinflationtermstructure.cpp.
|
overrideprotectedvirtual |
Override this method to perform checks on the state variable array when the state
and move
methods are called.
Reimplemented from YoYInflationModelTermStructure.
Definition at line 215 of file jyimpliedyoyinflationtermstructure.cpp.