|
|
| VolatilityParameter () |
| | Default constructor.
|
|
| VolatilityParameter (LgmData::VolatilityType volatilityType, bool calibrate, ParamType type, std::vector< QuantLib::Time > times, std::vector< QuantLib::Real > values) |
| | Constructor for piecewise volatility with an explicit volatility type.
|
|
| VolatilityParameter (LgmData::VolatilityType volatilityType, bool calibrate, QuantLib::Real value) |
| | Constructor for constant volatility with an explicit volatility type.
|
|
| VolatilityParameter (bool calibrate, ParamType type, std::vector< QuantLib::Real > times, std::vector< QuantLib::Real > values) |
| | Constructor for piecewise volatility without an explicit volatility type.
|
|
| VolatilityParameter (bool calibrate, QuantLib::Real value) |
| | Constructor for constant volatility without an explicit volatility type.
|
|
const QuantLib::ext::optional< LgmData::VolatilityType > & | volatilityType () const |
|
| ModelParameter () |
| | Default constructor.
|
|
| ModelParameter (bool calibrate, ParamType type, std::vector< QuantLib::Time > times, std::vector< QuantLib::Real > values) |
| | Detailed constructor.
|
|
bool | calibrate () const |
|
ParamType | type () const |
|
const std::vector< QuantLib::Time > & | times () const |
|
const std::vector< QuantLib::Real > & | values () const |
|
void | setTimes (std::vector< Real > times) |
|
void | setValues (std::vector< Real > values) |
|
void | mult (const Real f) |
|
void | setCalibrate (const bool b) |
|
void | fromFile (const std::string &filename) |
|
void | toFile (const std::string &filename) const |
|
void | fromXMLString (const std::string &xml) |
| | Parse from XML string.
|
|
std::string | toXMLString () const |
| | Parse from XML string.
|
|
std::string | toXMLStringUnformatted () const |
Volatility model parameter with optional volatility type.
- Note
- The volatility type is currently an LGM volatility type. We may want to broaden this in future.