QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Predictor-Corrector. More...
#include <lognormalfwdratepc.hpp>
Public Member Functions | |
LogNormalFwdRatePc (const ext::shared_ptr< MarketModel > &, const BrownianGeneratorFactory &, const std::vector< Size > &numeraires, Size initialStep=0) | |
Public Member Functions inherited from MarketModelEvolver | |
virtual | ~MarketModelEvolver ()=default |
virtual const std::vector< Size > & | numeraires () const =0 |
virtual Real | startNewPath ()=0 |
virtual Real | advanceStep ()=0 |
virtual Size | currentStep () const =0 |
virtual const CurveState & | currentState () const =0 |
virtual void | setInitialState (const CurveState &)=0 |
MarketModel interface | |
ext::shared_ptr< MarketModel > | marketModel_ |
std::vector< Size > | numeraires_ |
Size | initialStep_ |
ext::shared_ptr< BrownianGenerator > | generator_ |
std::vector< std::vector< Real > > | fixedDrifts_ |
Size | numberOfRates_ |
Size | numberOfFactors_ |
LMMCurveState | curveState_ |
Size | currentStep_ |
std::vector< Rate > | forwards_ |
std::vector< Rate > | displacements_ |
std::vector< Rate > | logForwards_ |
std::vector< Rate > | initialLogForwards_ |
std::vector< Real > | drifts1_ |
std::vector< Real > | drifts2_ |
std::vector< Real > | initialDrifts_ |
std::vector< Real > | brownians_ |
std::vector< Real > | correlatedBrownians_ |
std::vector< Size > | alive_ |
std::vector< LMMDriftCalculator > | calculators_ |
const std::vector< Size > & | numeraires () const override |
Real | startNewPath () override |
Real | advanceStep () override |
Size | currentStep () const override |
const CurveState & | currentState () const override |
void | setInitialState (const CurveState &) override |
void | setForwards (const std::vector< Real > &forwards) |
Predictor-Corrector.
Definition at line 35 of file lognormalfwdratepc.hpp.
LogNormalFwdRatePc | ( | const ext::shared_ptr< MarketModel > & | marketModel, |
const BrownianGeneratorFactory & | factory, | ||
const std::vector< Size > & | numeraires, | ||
Size | initialStep = 0 |
||
) |
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 75 of file lognormalfwdratepc.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 93 of file lognormalfwdratepc.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 100 of file lognormalfwdratepc.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 143 of file lognormalfwdratepc.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 147 of file lognormalfwdratepc.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 89 of file lognormalfwdratepc.cpp.
|
private |
|
private |
Definition at line 53 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 54 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 55 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 56 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 58 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 60 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 60 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 61 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 62 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 63 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 63 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 63 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 63 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 64 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 64 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 64 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 65 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 65 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 66 of file lognormalfwdratepc.hpp.
|
private |
Definition at line 68 of file lognormalfwdratepc.hpp.