QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
caplet const volatility model More...
#include <lmconstwrappervolmodel.hpp>
Public Member Functions | |
LmConstWrapperVolatilityModel (const ext::shared_ptr< LmVolatilityModel > &volaModel) | |
Array | volatility (Time t, const Array &x=Null< Array >()) const override |
Volatility | volatility (Size i, Time t, const Array &x=Null< Array >()) |
Real | integratedVariance (Size i, Size j, Time u, const Array &x=Null< Array >()) const override |
Public Member Functions inherited from LmVolatilityModel | |
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=Null< Array >()) const =0 |
virtual Volatility | volatility (Size i, Time t, const Array &x=Null< Array >()) const |
virtual Real | integratedVariance (Size i, Size j, Time u, const Array &x=Null< Array >()) const |
Protected Attributes | |
const ext::shared_ptr< LmVolatilityModel > | volaModel_ |
Protected Attributes inherited from LmVolatilityModel | |
const Size | size_ |
std::vector< Parameter > | arguments_ |
Private Member Functions | |
void | generateArguments () override |
virtual Array | volatility (Time t, const Array &x=Null< Array >()) const=0 |
virtual Volatility | volatility (Size i, Time t, const Array &x=Null< Array >()) const |
caplet const volatility model
Definition at line 32 of file lmconstwrappervolmodel.hpp.
|
explicit |
Definition at line 34 of file lmconstwrappervolmodel.hpp.
Implements LmVolatilityModel.
Definition at line 40 of file lmconstwrappervolmodel.hpp.
Definition at line 43 of file lmconstwrappervolmodel.hpp.
|
overridevirtual |
Reimplemented from LmVolatilityModel.
Definition at line 48 of file lmconstwrappervolmodel.hpp.
|
overrideprivatevirtual |
Implements LmVolatilityModel.
Definition at line 57 of file lmconstwrappervolmodel.hpp.
Implements LmVolatilityModel.
Reimplemented from LmVolatilityModel.
Definition at line 44 of file lmvolmodel.cpp.
|
protected |
Definition at line 53 of file lmconstwrappervolmodel.hpp.