HW nF Parametrization with m driving Brownian motions and constant reversion, vol. More...
#include <qle/models/hwconstantparametrization.hpp>
Public Member Functions | |
HwConstantParametrization (const QuantLib::Currency ¤cy, const QuantLib::Handle< TS > &termStructure, QuantLib::Matrix sigma, QuantLib::Array kappa, const std::string &name=std::string()) | |
QuantLib::Matrix | sigma_x (const QuantLib::Time t) const override |
QuantLib::Array | kappa (const QuantLib::Time t) const override |
QuantLib::Matrix | y (const QuantLib::Time t) const override |
QuantLib::Array | g (const QuantLib::Time t, const QuantLib::Time T) const override |
Public Member Functions inherited from HwParametrization< TS > | |
HwParametrization (const QuantLib::Size n, const QuantLib::Size m, const QuantLib::Currency ¤cy, const QuantLib::Handle< TS > &termStructure, const std::string &name=std::string()) | |
virtual QuantLib::Matrix | sigma_x (const QuantLib::Time t) const =0 |
virtual QuantLib::Array | kappa (const QuantLib::Time t) const =0 |
virtual QuantLib::Matrix | y (const QuantLib::Time t) const |
virtual QuantLib::Array | g (const QuantLib::Time t, const QuantLib::Time T) const |
const QuantLib::Handle< TS > | termStructure () const |
QuantLib::Size | numberOfParameters () const override |
QuantLib::Size | n () const |
QuantLib::Size | m () const |
void | update () const override |
Public Member Functions inherited from Parametrization | |
Parametrization (const Currency ¤cy, const std::string &name="") | |
virtual | ~Parametrization () |
virtual const Currency & | currency () const |
virtual const Array & | parameterTimes (const Size) const |
virtual Size | numberOfParameters () const |
virtual Array | parameterValues (const Size) const |
virtual const QuantLib::ext::shared_ptr< Parameter > | parameter (const Size) const |
virtual void | update () const |
const std::string & | name () const |
virtual Real | direct (const Size, const Real x) const |
virtual Real | inverse (const Size, const Real y) const |
Private Attributes | |
QuantLib::Matrix | sigma_ |
QuantLib::Array | kappa_ |
Static Private Attributes | |
static constexpr QuantLib::Real | zeroKappaCutoff_ = 1.0E-6 |
Additional Inherited Members | |
Protected Member Functions inherited from Parametrization | |
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 |
Protected Attributes inherited from HwParametrization< TS > | |
QuantLib::Size | n_ |
QuantLib::Size | m_ |
Protected Attributes inherited from Parametrization | |
const Real | h_ |
const Real | h2_ |
HW nF Parametrization with m driving Brownian motions and constant reversion, vol.
Definition at line 33 of file hwconstantparametrization.hpp.
HwConstantParametrization | ( | const QuantLib::Currency & | currency, |
const QuantLib::Handle< TS > & | termStructure, | ||
QuantLib::Matrix | sigma, | ||
QuantLib::Array | kappa, | ||
const std::string & | name = std::string() |
||
) |
Definition at line 52 of file hwconstantparametrization.hpp.
|
overridevirtual |
sigma_x, 1.12, this is a m x n matrix
Implements HwParametrization< TS >.
Definition at line 38 of file hwconstantparametrization.hpp.
|
overridevirtual |
|
overridevirtual |
y(t), 1.19, this is an n x n matrix
Reimplemented from HwParametrization< TS >.
Definition at line 63 of file hwconstantparametrization.hpp.
|
overridevirtual |
g(t,T), 1.21, this is an n-array
Reimplemented from HwParametrization< TS >.
Definition at line 87 of file hwconstantparametrization.hpp.
|
staticconstexprprivate |
Definition at line 44 of file hwconstantparametrization.hpp.
|
private |
Definition at line 45 of file hwconstantparametrization.hpp.
|
private |
Definition at line 46 of file hwconstantparametrization.hpp.