QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Engine collecting cash flows along a market-model simulation. More...
#include <accountingengine.hpp>
Public Member Functions | |
AccountingEngine (ext::shared_ptr< MarketModelEvolver > evolver, const Clone< MarketModelMultiProduct > &product, Real initialNumeraireValue) | |
void | multiplePathValues (SequenceStatisticsInc &stats, Size numberOfPaths) |
Private Member Functions | |
Real | singlePathValues (std::vector< Real > &values) |
Private Attributes | |
ext::shared_ptr< MarketModelEvolver > | evolver_ |
Clone< MarketModelMultiProduct > | product_ |
Real | initialNumeraireValue_ |
Size | numberProducts_ |
std::vector< Real > | numerairesHeld_ |
std::vector< Size > | numberCashFlowsThisStep_ |
std::vector< std::vector< MarketModelMultiProduct::CashFlow > > | cashFlowsGenerated_ |
std::vector< MarketModelDiscounter > | discounters_ |
Engine collecting cash flows along a market-model simulation.
Definition at line 44 of file accountingengine.hpp.
AccountingEngine | ( | ext::shared_ptr< MarketModelEvolver > | evolver, |
const Clone< MarketModelMultiProduct > & | product, | ||
Real | initialNumeraireValue | ||
) |
Definition at line 30 of file accountingengine.cpp.
void multiplePathValues | ( | SequenceStatisticsInc & | stats, |
Size | numberOfPaths | ||
) |
Definition at line 112 of file accountingengine.cpp.
Definition at line 50 of file accountingengine.cpp.
|
private |
Definition at line 54 of file accountingengine.hpp.
|
private |
Definition at line 55 of file accountingengine.hpp.
|
private |
Definition at line 57 of file accountingengine.hpp.
|
private |
Definition at line 58 of file accountingengine.hpp.
|
private |
Definition at line 61 of file accountingengine.hpp.
|
private |
Definition at line 62 of file accountingengine.hpp.
|
private |
Definition at line 64 of file accountingengine.hpp.
|
private |
Definition at line 65 of file accountingengine.hpp.