29#include <ql/indexes/bmaindex.hpp>
30#include <ql/indexes/iborindex.hpp>
31#include <ql/option.hpp>
40 LgmVectorised(
const QuantLib::ext::shared_ptr<IrLgm1fParametrization>& p) :
p_(p) {}
45 const Handle<YieldTermStructure>& discountCurve = Handle<YieldTermStructure>())
const;
48 const Handle<YieldTermStructure>& discountCurve = Handle<YieldTermStructure>())
const;
52 const Handle<YieldTermStructure>& discountCurve = Handle<YieldTermStructure>())
const;
55 const RandomVariable& x,
const Handle<YieldTermStructure>& discountCurve)
const;
58 RandomVariable fixing(
const QuantLib::ext::shared_ptr<InterestRateIndex>& index,
const Date& fixingDate,
const Time t,
64 const std::vector<Date>& fixingDates,
const std::vector<Date>& valueDates,
65 const std::vector<Real>& dt,
const Natural rateCutoff,
const bool includeSpread,
66 const Real spread,
const Real gearing,
const Period lookback, Real cap, Real floor,
67 const bool localCapFloor,
const bool nakedOption,
const Time t,
73 const std::vector<Date>& valueDates,
const std::vector<Real>& dt,
74 const Natural rateCutoff,
const bool includeSpread,
const Real spread,
75 const Real gearing,
const Period lookback, Real cap, Real floor,
76 const bool localCapFloor,
const bool nakedOption,
const Time t,
82 const Date& accrualStartDate,
const Date& accrualEndDate,
const bool includeSpread,
83 const Real spread,
const Real gearing, Real cap, Real floor,
const bool nakedOption,
88 const std::vector<Date>& fixingDates,
const Time t,
const RandomVariable& x)
const;
91 QuantLib::ext::shared_ptr<IrLgm1fParametrization>
p_;
QuantLib::ext::shared_ptr< IrLgm1fParametrization > p_
RandomVariable discountBond(const Time t, const Time T, const RandomVariable &x, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >()) const
LgmVectorised(const QuantLib::ext::shared_ptr< IrLgm1fParametrization > &p)
QuantLib::ext::shared_ptr< IrLgm1fParametrization > parametrization() const
RandomVariable averagedOnRate(const QuantLib::ext::shared_ptr< OvernightIndex > &index, const std::vector< Date > &fixingDates, const std::vector< Date > &valueDates, const std::vector< Real > &dt, const Natural rateCutoff, const bool includeSpread, const Real spread, const Real gearing, const Period lookback, Real cap, Real floor, const bool localCapFloor, const bool nakedOption, const Time t, const RandomVariable &x) const
RandomVariable averagedBmaRate(const QuantLib::ext::shared_ptr< BMAIndex > &index, const std::vector< Date > &fixingDates, const Date &accrualStartDate, const Date &accrualEndDate, const bool includeSpread, const Real spread, const Real gearing, Real cap, Real floor, const bool nakedOption, const Time t, const RandomVariable &x) const
RandomVariable numeraire(const Time t, const RandomVariable &x, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >()) const
RandomVariable discountBondOption(Option::Type type, const Real K, const Time t, const Time S, const Time T, const RandomVariable &x, const Handle< YieldTermStructure > &discountCurve) const
RandomVariable fixing(const QuantLib::ext::shared_ptr< InterestRateIndex > &index, const Date &fixingDate, const Time t, const RandomVariable &x) const
RandomVariable reducedDiscountBond(const Time t, const Time T, const RandomVariable &x, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >()) const
RandomVariable compoundedOnRate(const QuantLib::ext::shared_ptr< OvernightIndex > &index, const std::vector< Date > &fixingDates, const std::vector< Date > &valueDates, const std::vector< Real > &dt, const Natural rateCutoff, const bool includeSpread, const Real spread, const Real gearing, const Period lookback, Real cap, Real floor, const bool localCapFloor, const bool nakedOption, const Time t, const RandomVariable &x) const
RandomVariable subPeriodsRate(const QuantLib::ext::shared_ptr< InterestRateIndex > &index, const std::vector< Date > &fixingDates, const Time t, const RandomVariable &x) const
Interest Rate Linear Gaussian Markov 1 factor parametrization.