|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
caplet volatility model More...
#include <lmvolmodel.hpp>
Inheritance diagram for LmVolatilityModel:
Collaboration diagram for LmVolatilityModel:Public Member Functions | |
| LmVolatilityModel (Size size, Size nArguments) | |
| virtual | ~LmVolatilityModel ()=default |
| Size | size () const |
| std::vector< Parameter > & | params () |
| void | setParams (const std::vector< Parameter > &arguments) |
| virtual Array | volatility (Time t, const Array &x={}) const =0 |
| virtual Volatility | volatility (Size i, Time t, const Array &x={}) const |
| virtual Real | integratedVariance (Size i, Size j, Time u, const Array &x={}) const |
Protected Attributes | |
| const Size | size_ |
| std::vector< Parameter > | arguments_ |
Private Member Functions | |
| virtual void | generateArguments ()=0 |
caplet volatility model
Definition at line 33 of file lmvolmodel.hpp.
| LmVolatilityModel | ( | Size | size, |
| Size | nArguments | ||
| ) |
Definition at line 24 of file lmvolmodel.cpp.
|
virtualdefault |
| Size size | ( | ) | const |
Definition at line 29 of file lmvolmodel.cpp.
| std::vector< Parameter > & params | ( | ) |
Definition at line 44 of file lmvolmodel.cpp.
| void setParams | ( | const std::vector< Parameter > & | arguments | ) |
Implemented in LmConstWrapperVolatilityModel, LmExtLinearExponentialVolModel, LmFixedVolatilityModel, LmLinearExponentialVolatilityModel, and LmConstWrapperVolatilityModel.
Here is the caller graph for this function:
|
virtual |
Reimplemented in LmFixedVolatilityModel, LmConstWrapperVolatilityModel, LmExtLinearExponentialVolModel, and LmLinearExponentialVolatilityModel.
Definition at line 33 of file lmvolmodel.cpp.
Here is the call graph for this function:Reimplemented in LmConstWrapperVolatilityModel, LmExtLinearExponentialVolModel, and LmLinearExponentialVolatilityModel.
Definition at line 39 of file lmvolmodel.cpp.
|
privatepure virtual |
Implemented in LmConstWrapperVolatilityModel, LmFixedVolatilityModel, and LmLinearExponentialVolatilityModel.
Here is the caller graph for this function:
|
protected |
Definition at line 48 of file lmvolmodel.hpp.
|
protected |
Definition at line 49 of file lmvolmodel.hpp.