#include <ored/scripting/models/hwcg.hpp>
Public Member Functions | |
HwCG (const std::string &qualifier, QuantExt::ComputationGraph &g, const std::function< QuantLib::ext::shared_ptr< IrLgm1fParametrization >()> &p, std::vector< std::pair< std::size_t, std::function< double(void)> > > &modelParameters, const bool sloppySimDates=false, const std::set< Date > &effSimDates={}) | |
QuantLib::ext::shared_ptr< IrLgm1fParametrization > | parametrization () const |
std::size_t | numeraire (const Date &d, const std::size_t x, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const std::string &discountCurveId="default") const |
std::size_t | discountBond (const Date &d, Date e, const std::size_t x, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const std::string &discountCurveId="default") const |
std::size_t | reducedDiscountBond (const Date &d, const Date &e, const std::size_t x, const Handle< YieldTermStructure > &discountCurve=Handle< YieldTermStructure >(), const std::string &discountCurveId="default") const |
std::size_t | fixing (const QuantLib::ext::shared_ptr< InterestRateIndex > &index, const Date &fixingDate, const Date &t, const std::size_t x) const |
Private Attributes | |
std::string | qualifier_ |
QuantExt::ComputationGraph & | g_ |
std::function< QuantLib::ext::shared_ptr< IrLgm1fParametrization >()> | p_ |
std::vector< std::pair< std::size_t, std::function< double(void)> > > & | modelParameters_ |
bool | sloppySimDates_ |
std::set< Date > | effSimDates_ |
HwCG | ( | const std::string & | qualifier, |
QuantExt::ComputationGraph & | g, | ||
const std::function< QuantLib::ext::shared_ptr< IrLgm1fParametrization >()> & | p, | ||
std::vector< std::pair< std::size_t, std::function< double(void)> > > & | modelParameters, | ||
const bool | sloppySimDates = false , |
||
const std::set< Date > & | effSimDates = {} |
||
) |
Definition at line 38 of file hwcg.hpp.
QuantLib::ext::shared_ptr< IrLgm1fParametrization > parametrization | ( | ) | const |
std::size_t numeraire | ( | const Date & | d, |
const std::size_t | x, | ||
const Handle< YieldTermStructure > & | discountCurve = Handle<YieldTermStructure>() , |
||
const std::string & | discountCurveId = "default" |
||
) | const |
Definition at line 34 of file hwcg.cpp.
std::size_t discountBond | ( | const Date & | d, |
Date | e, | ||
const std::size_t | x, | ||
const Handle< YieldTermStructure > & | discountCurve = Handle<YieldTermStructure>() , |
||
const std::string & | discountCurveId = "default" |
||
) | const |
Definition at line 55 of file hwcg.cpp.
std::size_t reducedDiscountBond | ( | const Date & | d, |
const Date & | e, | ||
const std::size_t | x, | ||
const Handle< YieldTermStructure > & | discountCurve = Handle<YieldTermStructure>() , |
||
const std::string & | discountCurveId = "default" |
||
) | const |
Definition at line 91 of file hwcg.cpp.
std::size_t fixing | ( | const QuantLib::ext::shared_ptr< InterestRateIndex > & | index, |
const Date & | fixingDate, | ||
const Date & | t, | ||
const std::size_t | x | ||
) | const |
Definition at line 106 of file hwcg.cpp.
|
private |
|
private |
|
private |