#include <qle/pricingengines/numericlgmflexiswapengine.hpp>
|
| NumericLgmFlexiSwapEngine (const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > &model, const Real sy, const Size ny, const Real sx, const Size nx, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const Method method=Method::Automatic, const Real singleSwaptionThreshold=20.0) |
|
| NumericLgmFlexiSwapEngineBase (const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > &model, const Real sy, const Size ny, const Real sx, const Size nx, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const Method method=Method::Automatic, const Real singleSwaptionThreshold=20.0) |
|
| LgmConvolutionSolver (const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > &model, const Real sy, const Size ny, const Real sx, const Size nx) |
| Numerical convolution solver for the LGM model. More...
|
|
Size | gridSize () const |
|
std::vector< Real > | stateGrid (const Real t) const |
|
template<typename ValueType = Real> |
std::vector< ValueType > | rollback (const std::vector< ValueType > &v, const Real t1, const Real t0, const ValueType zero=ValueType(0.0)) const |
|
const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > & | model () const |
|
◆ NumericLgmFlexiSwapEngine()
Definition at line 362 of file numericlgmflexiswapengine.cpp.
367 registerWith(this->
model());
369}
const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > & model() const
NumericLgmFlexiSwapEngineBase(const QuantLib::ext::shared_ptr< LinearGaussMarkovModel > &model, const Real sy, const Size ny, const Real sx, const Size nx, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const Method method=Method::Automatic, const Real singleSwaptionThreshold=20.0)
const Handle< YieldTermStructure > discountCurve_
◆ calculate()
Definition at line 371 of file numericlgmflexiswapengine.cpp.
371 {
372
393
394
397 results_.underlyingValue = result.second;
399}
const Instrument::results * results_
std::vector< Real > cappedRate
std::vector< Date > floatingResetDates
QuantLib::ext::shared_ptr< IborIndex > iborIndex
std::vector< Real > floatingGearings
std::pair< Real, Real > calculate() const
std::vector< Real > floatingSpreads
std::vector< Date > floatingFixingDates
std::vector< Real > flooredRate
std::vector< Date > fixedPayDates
std::vector< Real > fixedNominal
std::vector< Date > fixedResetDates
std::vector< Real > floatingNominal
QuantLib::Position::Type optionPosition
std::vector< Real > floatingCoupons
std::vector< bool > notionalCanBeDecreased
std::vector< Real > lowerNotionalBound
std::vector< Real > fixedRate
std::vector< Time > floatingAccrualTimes
std::vector< Real > fixedCoupons
std::vector< Date > floatingPayDates
std::map< std::string, boost::any > getAdditionalResultsMap(const LgmCalibrationInfo &info)
Swap::arguments * arguments_