QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Euler. More...
#include <lognormalfwdrateeuler.hpp>
Public Member Functions | |
LogNormalFwdRateEuler (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 > | 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 |
const std::vector< Real > & | browniansThisStep () const |
accessor methods useful for doing pathwise vegas More... | |
void | setForwards (const std::vector< Real > &forwards) |
LogNormalFwdRateEuler | ( | const ext::shared_ptr< MarketModel > & | marketModel, |
const BrownianGeneratorFactory & | factory, | ||
const std::vector< Size > & | numeraires, | ||
Size | initialStep = 0 |
||
) |
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 74 of file lognormalfwdrateeuler.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 92 of file lognormalfwdrateeuler.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 99 of file lognormalfwdrateeuler.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 135 of file lognormalfwdrateeuler.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 139 of file lognormalfwdrateeuler.cpp.
|
overridevirtual |
Implements MarketModelEvolver.
Definition at line 88 of file lognormalfwdrateeuler.cpp.
const std::vector< Real > & browniansThisStep | ( | ) | const |
accessor methods useful for doing pathwise vegas
Definition at line 52 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 78 of file lognormalfwdrateeuler.cpp.
|
private |
Definition at line 62 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 63 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 64 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 65 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 67 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 69 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 69 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 70 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 71 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 72 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 72 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 72 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 72 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 73 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 73 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 74 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 74 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 75 of file lognormalfwdrateeuler.hpp.
|
private |
Definition at line 77 of file lognormalfwdrateeuler.hpp.