HW nF Parametrization with m driving Brownian motions. More...
#include <qle/models/hwparametrization.hpp>
Inheritance diagram for HwParametrization< TS >:
Collaboration diagram for HwParametrization< TS >:Public Member Functions | |
| 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 |
Protected Attributes | |
| QuantLib::Size | n_ |
| QuantLib::Size | m_ |
Protected Attributes inherited from Parametrization | |
| const Real | h_ |
| const Real | h2_ |
Private Attributes | |
| const QuantLib::Handle< TS > | termStructure_ |
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 |
HW nF Parametrization with m driving Brownian motions.
Definition at line 37 of file hwparametrization.hpp.
| HwParametrization | ( | const QuantLib::Size | n, |
| const QuantLib::Size | m, | ||
| const QuantLib::Currency & | currency, | ||
| const QuantLib::Handle< TS > & | termStructure, | ||
| const std::string & | name = std::string() |
||
| ) |
Definition at line 74 of file hwparametrization.hpp.
|
pure virtual |
sigma_x, 1.12, this is a m x n matrix
Implemented in HwConstantParametrization< TS >.
|
pure virtual |
Implemented in HwConstantParametrization< TS >.
|
virtual |
y(t), 1.19, this is an n x n matrix
Reimplemented in HwConstantParametrization< TS >.
Definition at line 79 of file hwparametrization.hpp.
|
virtual |
g(t,T), 1.21, this is an n-array
Reimplemented in HwConstantParametrization< TS >.
Definition at line 83 of file hwparametrization.hpp.
| const QuantLib::Handle< TS > termStructure | ( | ) | const |
|
overridevirtual |
we have m x n (from g) + n (from kappa) parameters
Reimplemented from Parametrization.
Definition at line 57 of file hwparametrization.hpp.
| QuantLib::Size n | ( | ) | const |
Definition at line 59 of file hwparametrization.hpp.
| QuantLib::Size m | ( | ) | const |
Definition at line 60 of file hwparametrization.hpp.
|
overridevirtual |
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 87 of file hwparametrization.hpp.
Here is the call graph for this function:
|
protected |
Definition at line 65 of file hwparametrization.hpp.
|
protected |
Definition at line 65 of file hwparametrization.hpp.
|
private |
Definition at line 68 of file hwparametrization.hpp.