QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
Drift computation for CMS market models. More...
#include <ql/models/marketmodels/driftcomputation/cmsmmdriftcalculator.hpp>
Public Member Functions | |
CMSMMDriftCalculator (const Matrix &pseudo, const std::vector< Spread > &displacements, const std::vector< Time > &taus, Size numeraire, Size alive, Size spanningFwds) | |
void | compute (const CMSwapCurveState &cs, std::vector< Real > &drifts) const |
Computes the drifts. More... | |
Private Attributes | |
Size | numberOfRates_ |
Size | numberOfFactors_ |
Size | numeraire_ |
Size | alive_ |
std::vector< Spread > | displacements_ |
std::vector< Real > | oneOverTaus_ |
Matrix | C_ |
Matrix | pseudo_ |
std::vector< Real > | tmp_ |
Matrix | PjPnWk_ |
Matrix | wkaj_ |
Matrix | wkajN_ |
std::vector< Size > | downs_ |
std::vector< Size > | ups_ |
Size | spanningFwds_ |
Drift computation for CMS market models.
Returns the drift \( \mu \Delta t \). See Mark Joshi, Rapid Computation of Drifts in a Reduced Factor Libor Market Model, Wilmott Magazine, May 2003.
Definition at line 42 of file cmsmmdriftcalculator.hpp.
void compute | ( | const CMSwapCurveState & | cs, |
std::vector< Real > & | drifts | ||
) | const |
Computes the drifts.
Definition at line 74 of file cmsmmdriftcalculator.cpp.
|
private |
Definition at line 54 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 54 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 55 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 55 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 56 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 57 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 58 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 58 of file cmsmmdriftcalculator.hpp.
|
mutableprivate |
Definition at line 60 of file cmsmmdriftcalculator.hpp.
|
mutableprivate |
Definition at line 61 of file cmsmmdriftcalculator.hpp.
|
mutableprivate |
Definition at line 62 of file cmsmmdriftcalculator.hpp.
|
mutableprivate |
Definition at line 63 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 65 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 65 of file cmsmmdriftcalculator.hpp.
|
private |
Definition at line 66 of file cmsmmdriftcalculator.hpp.