QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | List of all members
LogNormalFwdRateiBalland Class Reference

Iterative Predictor-Corrector. More...

#include <ql/models/marketmodels/evolvers/lognormalfwdrateiballand.hpp>

+ Inheritance diagram for LogNormalFwdRateiBalland:
+ Collaboration diagram for LogNormalFwdRateiBalland:

Public Member Functions

 LogNormalFwdRateiBalland (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 CurveStatecurrentState () const =0
 
virtual void setInitialState (const CurveState &)=0
 

MarketModel interface

ext::shared_ptr< MarketModelmarketModel_
 
std::vector< Sizenumeraires_
 
Size initialStep_
 
ext::shared_ptr< BrownianGeneratorgenerator_
 
std::vector< std::vector< Real > > fixedDrifts_
 
Size numberOfRates_
 
Size numberOfFactors_
 
LMMCurveState curveState_
 
Size currentStep_
 
std::vector< Rateforwards_
 
std::vector< Ratedisplacements_
 
std::vector< RatelogForwards_
 
std::vector< RateinitialLogForwards_
 
std::vector< RealinitialDrifts_
 
std::vector< Realbrownians_
 
std::vector< RealcorrelatedBrownians_
 
std::vector< TimerateTaus_
 
std::vector< Sizealive_
 
std::vector< LMMDriftCalculatorcalculators_
 
const std::vector< Size > & numeraires () const override
 
Real startNewPath () override
 
Real advanceStep () override
 
Size currentStep () const override
 
const CurveStatecurrentState () const override
 
void setInitialState (const CurveState &) override
 
void setForwards (const std::vector< Real > &forwards)
 

Detailed Description

Iterative Predictor-Corrector.

Definition at line 34 of file lognormalfwdrateiballand.hpp.

Constructor & Destructor Documentation

◆ LogNormalFwdRateiBalland()

LogNormalFwdRateiBalland ( const ext::shared_ptr< MarketModel > &  marketModel,
const BrownianGeneratorFactory factory,
const std::vector< Size > &  numeraires,
Size  initialStep = 0 
)

Definition at line 28 of file lognormalfwdrateiballand.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ numeraires()

const std::vector< Size > & numeraires ( ) const
overridevirtual

Implements MarketModelEvolver.

Definition at line 75 of file lognormalfwdrateiballand.cpp.

+ Here is the caller graph for this function:

◆ startNewPath()

Real startNewPath ( )
overridevirtual

Implements MarketModelEvolver.

Definition at line 93 of file lognormalfwdrateiballand.cpp.

◆ advanceStep()

Real advanceStep ( )
overridevirtual

Implements MarketModelEvolver.

Definition at line 100 of file lognormalfwdrateiballand.cpp.

+ Here is the call graph for this function:

◆ currentStep()

Size currentStep ( ) const
overridevirtual

Implements MarketModelEvolver.

Definition at line 148 of file lognormalfwdrateiballand.cpp.

◆ currentState()

const CurveState & currentState ( ) const
overridevirtual

Implements MarketModelEvolver.

Definition at line 152 of file lognormalfwdrateiballand.cpp.

◆ setInitialState()

void setInitialState ( const CurveState cs)
overridevirtual

Implements MarketModelEvolver.

Definition at line 89 of file lognormalfwdrateiballand.cpp.

+ Here is the call graph for this function:

◆ setForwards()

void setForwards ( const std::vector< Real > &  forwards)
private

Definition at line 79 of file lognormalfwdrateiballand.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ marketModel_

ext::shared_ptr<MarketModel> marketModel_
private

Definition at line 52 of file lognormalfwdrateiballand.hpp.

◆ numeraires_

std::vector<Size> numeraires_
private

Definition at line 53 of file lognormalfwdrateiballand.hpp.

◆ initialStep_

Size initialStep_
private

Definition at line 54 of file lognormalfwdrateiballand.hpp.

◆ generator_

ext::shared_ptr<BrownianGenerator> generator_
private

Definition at line 55 of file lognormalfwdrateiballand.hpp.

◆ fixedDrifts_

std::vector<std::vector<Real> > fixedDrifts_
private

Definition at line 57 of file lognormalfwdrateiballand.hpp.

◆ numberOfRates_

Size numberOfRates_
private

Definition at line 59 of file lognormalfwdrateiballand.hpp.

◆ numberOfFactors_

Size numberOfFactors_
private

Definition at line 59 of file lognormalfwdrateiballand.hpp.

◆ curveState_

LMMCurveState curveState_
private

Definition at line 60 of file lognormalfwdrateiballand.hpp.

◆ currentStep_

Size currentStep_
private

Definition at line 61 of file lognormalfwdrateiballand.hpp.

◆ forwards_

std::vector<Rate> forwards_
private

Definition at line 62 of file lognormalfwdrateiballand.hpp.

◆ displacements_

std::vector<Rate> displacements_
private

Definition at line 62 of file lognormalfwdrateiballand.hpp.

◆ logForwards_

std::vector<Rate> logForwards_
private

Definition at line 62 of file lognormalfwdrateiballand.hpp.

◆ initialLogForwards_

std::vector<Rate> initialLogForwards_
private

Definition at line 62 of file lognormalfwdrateiballand.hpp.

◆ initialDrifts_

std::vector<Real> initialDrifts_
private

Definition at line 63 of file lognormalfwdrateiballand.hpp.

◆ brownians_

std::vector<Real> brownians_
private

Definition at line 64 of file lognormalfwdrateiballand.hpp.

◆ correlatedBrownians_

std::vector<Real> correlatedBrownians_
private

Definition at line 64 of file lognormalfwdrateiballand.hpp.

◆ rateTaus_

std::vector<Time> rateTaus_
private

Definition at line 65 of file lognormalfwdrateiballand.hpp.

◆ alive_

std::vector<Size> alive_
private

Definition at line 66 of file lognormalfwdrateiballand.hpp.

◆ calculators_

std::vector<LMMDriftCalculator> calculators_
private

Definition at line 69 of file lognormalfwdrateiballand.hpp.