|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
libor forward correlation model More...
#include <lmcorrmodel.hpp>
Inheritance diagram for LmCorrelationModel:
Collaboration diagram for LmCorrelationModel:Public Member Functions | |
| LmCorrelationModel (Size size, Size nArguments) | |
| virtual | ~LmCorrelationModel ()=default |
| virtual Size | size () const |
| virtual Size | factors () const |
| std::vector< Parameter > & | params () |
| void | setParams (const std::vector< Parameter > &arguments) |
| virtual Matrix | correlation (Time t, const Array &x={}) const =0 |
| virtual Matrix | pseudoSqrt (Time t, const Array &x={}) const |
| virtual Real | correlation (Size i, Size j, Time t, const Array &x={}) const |
| virtual bool | isTimeIndependent () const |
Protected Member Functions | |
| virtual void | generateArguments ()=0 |
Protected Attributes | |
| const Size | size_ |
| std::vector< Parameter > | arguments_ |
libor forward correlation model
Definition at line 35 of file lmcorrmodel.hpp.
| LmCorrelationModel | ( | Size | size, |
| Size | nArguments | ||
| ) |
Definition at line 25 of file lmcorrmodel.cpp.
|
virtualdefault |
|
virtual |
Definition at line 28 of file lmcorrmodel.cpp.
|
virtual |
Reimplemented in LmConstWrapperCorrelationModel, and LmLinearExponentialCorrelationModel.
Definition at line 32 of file lmcorrmodel.cpp.
| std::vector< Parameter > & params | ( | ) |
Definition at line 53 of file lmcorrmodel.cpp.
| void setParams | ( | const std::vector< Parameter > & | arguments | ) |
Implemented in LmConstWrapperCorrelationModel, LmExponentialCorrelationModel, and LmLinearExponentialCorrelationModel.
Here is the caller graph for this function:Reimplemented in LmConstWrapperCorrelationModel, LmExponentialCorrelationModel, and LmLinearExponentialCorrelationModel.
Definition at line 40 of file lmcorrmodel.cpp.
Here is the call graph for this function:Reimplemented in LmExponentialCorrelationModel, LmLinearExponentialCorrelationModel, and LmConstWrapperCorrelationModel.
Definition at line 46 of file lmcorrmodel.cpp.
Here is the call graph for this function:
|
virtual |
Reimplemented in LmConstWrapperCorrelationModel, LmExponentialCorrelationModel, and LmLinearExponentialCorrelationModel.
Definition at line 36 of file lmcorrmodel.cpp.
|
protectedpure virtual |
Implemented in LmConstWrapperCorrelationModel, LmExponentialCorrelationModel, and LmLinearExponentialCorrelationModel.
Here is the caller graph for this function:
|
protected |
Definition at line 54 of file lmcorrmodel.hpp.
|
protected |
Definition at line 56 of file lmcorrmodel.hpp.