#include <qle/models/infjyparameterization.hpp>
|
QuantLib::ext::shared_ptr< Lgm1fParametrization< QuantLib::ZeroInflationTermStructure > > | realRate_ |
|
QuantLib::ext::shared_ptr< FxBsParametrization > | index_ |
|
QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > | inflationIndex_ |
|
const QuantLib::Array & | parameterTimes (const QuantLib::Size i) const override |
|
const QuantLib::ext::shared_ptr< QuantLib::Parameter > | parameter (const QuantLib::Size i) const override |
|
void | update () const override |
|
QuantLib::Real | direct (const QuantLib::Size i, const QuantLib::Real x) const override |
|
QuantLib::Real | inverse (const QuantLib::Size i, const QuantLib::Real y) const override |
|
void | checkIndex (QuantLib::Size i) const |
| Check that the indexing. More...
|
|
|
Time | tr (const Time t) const |
|
Time | tl (const Time t) const |
|
Time | tr2 (const Time t) const |
|
Time | tm2 (const Time t) const |
|
Time | tl2 (const Time t) const |
|
const Real | h_ |
|
const Real | h2_ |
|
Definition at line 34 of file infjyparameterization.hpp.
◆ InfJyParameterization()
Definition at line 31 of file infjyparameterization.cpp.
QuantLib::ext::shared_ptr< Lgm1fParametrization< QuantLib::ZeroInflationTermStructure > > realRate() const
QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > inflationIndex() const
QuantLib::ext::shared_ptr< FxBsParametrization > index() const
QuantLib::ext::shared_ptr< FxBsParametrization > index_
QuantLib::ext::shared_ptr< Lgm1fParametrization< QuantLib::ZeroInflationTermStructure > > realRate_
QuantLib::ext::shared_ptr< QuantLib::ZeroInflationIndex > inflationIndex_
Parametrization(const Currency ¤cy, const std::string &name="")
◆ parameterTimes()
const Array & parameterTimes |
( |
const QuantLib::Size |
i | ) |
const |
|
override |
Definition at line 38 of file infjyparameterization.cpp.
38 {
40 if (i < 2) {
42 } else {
43 return index_->parameterTimes(0);
44 }
45}
void checkIndex(QuantLib::Size i) const
Check that the indexing.
◆ parameter()
const QuantLib::ext::shared_ptr< Parameter > parameter |
( |
const QuantLib::Size |
i | ) |
const |
|
override |
◆ update()
this method should be called when input parameters linked via references or pointers change in order to ensure consistent results
Reimplemented from Parametrization.
Definition at line 56 of file infjyparameterization.cpp.
◆ realRate()
◆ index()
◆ inflationIndex()
QuantLib::ext::shared_ptr< ZeroInflationIndex > inflationIndex |
( |
| ) |
const |
◆ numberOfParameters()
Size numberOfParameters |
( |
| ) |
const |
|
overridevirtual |
◆ direct()
Real direct |
( |
const QuantLib::Size |
i, |
|
|
const QuantLib::Real |
x |
|
) |
| const |
|
overrideprotected |
◆ inverse()
Real inverse |
( |
const QuantLib::Size |
i, |
|
|
const QuantLib::Real |
y |
|
) |
| const |
|
overrideprotected |
◆ checkIndex()
void checkIndex |
( |
QuantLib::Size |
i | ) |
const |
|
private |
Check that the indexing.
Definition at line 91 of file infjyparameterization.cpp.
91 {
92 QL_REQUIRE(i < 3, "InfJyParameterization has 3 parameters but has been asked for its " << io::ordinal(i + 1));
93}
◆ realRate_
◆ index_
◆ inflationIndex_
QuantLib::ext::shared_ptr<QuantLib::ZeroInflationIndex> inflationIndex_ |
|
private |