#include <ored/model/lgmdata.hpp>
Public Member Functions | |
LgmReversionTransformation () | |
Default constructor setting the horizon to 0.0 and the scaling to 1.0. More... | |
LgmReversionTransformation (QuantLib::Time horizon, QuantLib::Real scaling) | |
Detailed constructor. More... | |
Inspectors | |
QuantLib::Time | horizon () const |
QuantLib::Real | scaling () const |
Public Member Functions inherited from XMLSerializable | |
virtual | ~XMLSerializable () |
virtual void | fromXML (XMLNode *node)=0 |
virtual XMLNode * | toXML (XMLDocument &doc) const =0 |
void | fromFile (const std::string &filename) |
void | toFile (const std::string &filename) const |
void | fromXMLString (const std::string &xml) |
Parse from XML string. More... | |
std::string | toXMLString () const |
Parse from XML string. More... | |
Serialisation | |
QuantLib::Time | horizon_ |
QuantLib::Real | scaling_ |
void | fromXML (XMLNode *node) override |
XMLNode * | toXML (XMLDocument &doc) const override |
LGM reversion transformation.
This class holds values for possibly transforming the reversion parameter of the LGM model. The use of this is outlined in Modern Derivatives Pricing and Credit Exposure Analysis, Section 16.4.
Definition at line 170 of file lgmdata.hpp.
Default constructor setting the horizon to 0.0 and the scaling to 1.0.
Definition at line 251 of file lgmdata.cpp.
LgmReversionTransformation | ( | QuantLib::Time | horizon, |
QuantLib::Real | scaling | ||
) |
Detailed constructor.
Time horizon | ( | ) | const |
Definition at line 256 of file lgmdata.cpp.
Real scaling | ( | ) | const |
Definition at line 258 of file lgmdata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 260 of file lgmdata.cpp.
|
overridevirtual |
Implements XMLSerializable.
Definition at line 266 of file lgmdata.cpp.
|
private |
Definition at line 191 of file lgmdata.hpp.
|
private |
Definition at line 192 of file lgmdata.hpp.