QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <proxygreekengine.hpp>
Public Member Functions | |
ProxyGreekEngine (ext::shared_ptr< MarketModelEvolver > evolver, std::vector< std::vector< ext::shared_ptr< ConstrainedEvolver > > > constrainedEvolvers, std::vector< std::vector< std::vector< Real > > > diffWeights, std::vector< Size > startIndexOfConstraint, std::vector< Size > endIndexOfConstraint, const Clone< MarketModelMultiProduct > &product, Real initialNumeraireValue) | |
void | multiplePathValues (SequenceStatisticsInc &stats, std::vector< std::vector< SequenceStatisticsInc > > &modifiedStats, Size numberOfPaths) |
void | singlePathValues (std::vector< Real > &values, std::vector< std::vector< std::vector< Real > > > &modifiedValues) |
Private Member Functions | |
void | singleEvolverValues (MarketModelEvolver &evolver, std::vector< Real > &values, bool storeRates=false) |
Private Attributes | |
ext::shared_ptr< MarketModelEvolver > | originalEvolver_ |
std::vector< std::vector< ext::shared_ptr< ConstrainedEvolver > > > | constrainedEvolvers_ |
std::vector< std::vector< std::vector< Real > > > | diffWeights_ |
std::vector< Size > | startIndexOfConstraint_ |
std::vector< Size > | endIndexOfConstraint_ |
Clone< MarketModelMultiProduct > | product_ |
Real | initialNumeraireValue_ |
Size | numberProducts_ |
std::vector< Rate > | constraints_ |
std::valarray< bool > | constraintsActive_ |
std::vector< Real > | numerairesHeld_ |
std::vector< Size > | numberCashFlowsThisStep_ |
std::vector< std::vector< MarketModelMultiProduct::CashFlow > > | cashFlowsGenerated_ |
std::vector< MarketModelDiscounter > | discounters_ |
Definition at line 37 of file proxygreekengine.hpp.
ProxyGreekEngine | ( | ext::shared_ptr< MarketModelEvolver > | evolver, |
std::vector< std::vector< ext::shared_ptr< ConstrainedEvolver > > > | constrainedEvolvers, | ||
std::vector< std::vector< std::vector< Real > > > | diffWeights, | ||
std::vector< Size > | startIndexOfConstraint, | ||
std::vector< Size > | endIndexOfConstraint, | ||
const Clone< MarketModelMultiProduct > & | product, | ||
Real | initialNumeraireValue | ||
) |
Definition at line 30 of file proxygreekengine.cpp.
void multiplePathValues | ( | SequenceStatisticsInc & | stats, |
std::vector< std::vector< SequenceStatisticsInc > > & | modifiedStats, | ||
Size | numberOfPaths | ||
) |
void singlePathValues | ( | std::vector< Real > & | values, |
std::vector< std::vector< std::vector< Real > > > & | modifiedValues | ||
) |
Definition at line 63 of file proxygreekengine.cpp.
|
private |
Definition at line 112 of file proxygreekengine.cpp.
|
private |
Definition at line 58 of file proxygreekengine.hpp.
|
private |
Definition at line 60 of file proxygreekengine.hpp.
|
private |
Definition at line 61 of file proxygreekengine.hpp.
|
private |
Definition at line 62 of file proxygreekengine.hpp.
|
private |
Definition at line 63 of file proxygreekengine.hpp.
|
private |
Definition at line 64 of file proxygreekengine.hpp.
|
private |
Definition at line 66 of file proxygreekengine.hpp.
|
private |
Definition at line 67 of file proxygreekengine.hpp.
|
private |
Definition at line 70 of file proxygreekengine.hpp.
|
private |
Definition at line 71 of file proxygreekengine.hpp.
|
private |
Definition at line 72 of file proxygreekengine.hpp.
|
private |
Definition at line 73 of file proxygreekengine.hpp.
|
private |
Definition at line 75 of file proxygreekengine.hpp.
|
private |
Definition at line 76 of file proxygreekengine.hpp.