CIR++ Constant Parametrization. More...
#include <qle/models/cirppconstantfellerparametrization.hpp>
Public Member Functions | |
CirppConstantWithFellerParametrization (const Currency ¤cy, const Handle< TS > &termStructure, const Real kappa, const Real theta, const Real sigma, const Real y0, const bool shifted, bool relaxed=false, const Real fellerFactor=2.0, const std::string &name=std::string()) | |
Real | kappa (const Time t) const override |
Real | theta (const Time t) const override |
Real | sigma (const Time t) const override |
Real | y0 (const Time t) const override |
const QuantLib::ext::shared_ptr< Parameter > | parameter (const Size) const override |
const bool | relaxed () const |
Public Member Functions inherited from CirppParametrization< TS > | |
CirppParametrization (const Currency ¤cy, const Handle< TS > &termStructure, bool shifted, const std::string &name=std::string()) | |
virtual Real | kappa (const Time t) const =0 |
virtual Real | theta (const Time t) const =0 |
virtual Real | sigma (const Time t) const =0 |
virtual Real | y0 (const Time t) const =0 |
const Handle< TS > | termStructure () const |
const bool | shifted () const |
Size | numberOfParameters () 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 Member Functions | |
Real | direct (const Size i, const Real x) const override |
Real | inverse (const Size j, const Real y) const override |
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 |
Private Attributes | |
const QuantLib::ext::shared_ptr< PseudoParameter > | kappa_ |
const QuantLib::ext::shared_ptr< PseudoParameter > | theta_ |
const QuantLib::ext::shared_ptr< PseudoParameter > | sigma_ |
const QuantLib::ext::shared_ptr< PseudoParameter > | y0_ |
bool | relaxed_ |
const Real | fellerFactor_ |
Additional Inherited Members | |
Protected Attributes inherited from Parametrization | |
const Real | h_ |
const Real | h2_ |
CIR++ Constant Parametrization.
Definition at line 36 of file cirppconstantfellerparametrization.hpp.
CirppConstantWithFellerParametrization | ( | const Currency & | currency, |
const Handle< TS > & | termStructure, | ||
const Real | kappa, | ||
const Real | theta, | ||
const Real | sigma, | ||
const Real | y0, | ||
const bool | shifted, | ||
bool | relaxed = false , |
||
const Real | fellerFactor = 2.0 , |
||
const std::string & | name = std::string() |
||
) |
Definition at line 67 of file cirppconstantfellerparametrization.hpp.
|
overridevirtual |
Implements CirppParametrization< TS >.
Definition at line 124 of file cirppconstantfellerparametrization.hpp.
|
overridevirtual |
Implements CirppParametrization< TS >.
Definition at line 128 of file cirppconstantfellerparametrization.hpp.
|
overridevirtual |
Implements CirppParametrization< TS >.
Definition at line 132 of file cirppconstantfellerparametrization.hpp.
|
overridevirtual |
Implements CirppParametrization< TS >.
Definition at line 136 of file cirppconstantfellerparametrization.hpp.
|
overridevirtual |
the parameter storing the raw parameter values
Reimplemented from Parametrization.
Definition at line 146 of file cirppconstantfellerparametrization.hpp.
const bool relaxed |
Definition at line 140 of file cirppconstantfellerparametrization.hpp.
|
overrideprotectedvirtual |
transformations between raw and actual parameters
Reimplemented from Parametrization.
Definition at line 87 of file cirppconstantfellerparametrization.hpp.
|
overrideprotectedvirtual |
Reimplemented from Parametrization.
Definition at line 106 of file cirppconstantfellerparametrization.hpp.
|
private |
Definition at line 59 of file cirppconstantfellerparametrization.hpp.
|
private |
Definition at line 59 of file cirppconstantfellerparametrization.hpp.
|
private |
Definition at line 59 of file cirppconstantfellerparametrization.hpp.
|
private |
Definition at line 59 of file cirppconstantfellerparametrization.hpp.
|
private |
Definition at line 60 of file cirppconstantfellerparametrization.hpp.
|
private |
Definition at line 61 of file cirppconstantfellerparametrization.hpp.