QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdhestonvanillaengine.hpp>
Public Member Functions | |
MakeFdHestonVanillaEngine (ext::shared_ptr< HestonModel > hestonModel) | |
MakeFdHestonVanillaEngine & | withQuantoHelper (const ext::shared_ptr< FdmQuantoHelper > &quantoHelper) |
MakeFdHestonVanillaEngine & | withTGrid (Size tGrid) |
MakeFdHestonVanillaEngine & | withXGrid (Size xGrid) |
MakeFdHestonVanillaEngine & | withVGrid (Size vGrid) |
MakeFdHestonVanillaEngine & | withDampingSteps (Size dampingSteps) |
MakeFdHestonVanillaEngine & | withFdmSchemeDesc (const FdmSchemeDesc &schemeDesc) |
MakeFdHestonVanillaEngine & | withLeverageFunction (ext::shared_ptr< LocalVolTermStructure > &leverageFct) |
MakeFdHestonVanillaEngine & | withCashDividends (const std::vector< Date > ÷ndDates, const std::vector< Real > ÷ndAmounts) |
operator ext::shared_ptr< PricingEngine > () const | |
Private Attributes | |
ext::shared_ptr< HestonModel > | hestonModel_ |
DividendSchedule | dividends_ |
Size | tGrid_ = 100 |
Size | xGrid_ = 100 |
Size | vGrid_ = 50 |
Size | dampingSteps_ = 0 |
ext::shared_ptr< FdmSchemeDesc > | schemeDesc_ |
ext::shared_ptr< LocalVolTermStructure > | leverageFct_ |
ext::shared_ptr< FdmQuantoHelper > | quantoHelper_ |
Definition at line 116 of file fdhestonvanillaengine.hpp.
|
explicit |
Definition at line 245 of file fdhestonvanillaengine.cpp.
MakeFdHestonVanillaEngine & withQuantoHelper | ( | const ext::shared_ptr< FdmQuantoHelper > & | quantoHelper | ) |
Definition at line 249 of file fdhestonvanillaengine.cpp.
MakeFdHestonVanillaEngine & withTGrid | ( | Size | tGrid | ) |
Definition at line 256 of file fdhestonvanillaengine.cpp.
MakeFdHestonVanillaEngine & withXGrid | ( | Size | xGrid | ) |
Definition at line 262 of file fdhestonvanillaengine.cpp.
MakeFdHestonVanillaEngine & withVGrid | ( | Size | vGrid | ) |
Definition at line 268 of file fdhestonvanillaengine.cpp.
MakeFdHestonVanillaEngine & withDampingSteps | ( | Size | dampingSteps | ) |
Definition at line 274 of file fdhestonvanillaengine.cpp.
MakeFdHestonVanillaEngine & withFdmSchemeDesc | ( | const FdmSchemeDesc & | schemeDesc | ) |
Definition at line 280 of file fdhestonvanillaengine.cpp.
MakeFdHestonVanillaEngine & withLeverageFunction | ( | ext::shared_ptr< LocalVolTermStructure > & | leverageFct | ) |
Definition at line 287 of file fdhestonvanillaengine.cpp.
MakeFdHestonVanillaEngine & withCashDividends | ( | const std::vector< Date > & | dividendDates, |
const std::vector< Real > & | dividendAmounts | ||
) |
operator ext::shared_ptr< PricingEngine > | ( | ) | const |
Definition at line 301 of file fdhestonvanillaengine.cpp.
|
private |
Definition at line 142 of file fdhestonvanillaengine.hpp.
|
private |
Definition at line 143 of file fdhestonvanillaengine.hpp.
|
private |
Definition at line 144 of file fdhestonvanillaengine.hpp.
|
private |
Definition at line 144 of file fdhestonvanillaengine.hpp.
|
private |
Definition at line 144 of file fdhestonvanillaengine.hpp.
|
private |
Definition at line 144 of file fdhestonvanillaengine.hpp.
|
private |
Definition at line 145 of file fdhestonvanillaengine.hpp.
|
private |
Definition at line 146 of file fdhestonvanillaengine.hpp.
|
private |
Definition at line 147 of file fdhestonvanillaengine.hpp.