24#ifndef quantlib_fd_heston_hull_white_vanilla_engine_hpp
25#define quantlib_fd_heston_hull_white_vanilla_engine_hpp
45 VanillaOption::arguments,
46 VanillaOption::results> {
49 const ext::shared_ptr<HestonModel>& model,
50 ext::shared_ptr<HullWhiteProcess> hwProcess,
51 Real corrEquityShortRate,
56 Size dampingSteps = 0,
57 bool controlVariate =
true,
61 const ext::shared_ptr<HestonModel>& model,
62 ext::shared_ptr<HullWhiteProcess> hwProcess,
64 Real corrEquityShortRate,
69 Size dampingSteps = 0,
70 bool controlVariate =
true,
Finite-differences Heston Hull-White vanilla option engine.
const Real corrEquityShortRate_
const bool controlVariate_
std::vector< Real > strikes_
std::vector< std::pair< VanillaOption::arguments, VanillaOption::results > > cachedArgs2results_
void calculate() const override
const ext::shared_ptr< HullWhiteProcess > hwProcess_
DividendSchedule dividends_
void enableMultipleStrikesCaching(const std::vector< Real > &strikes)
const FdmSchemeDesc schemeDesc_
Base class for some pricing engine on a particular model.
Generic option engine based on a model.
std::size_t Size
size of a container
Heston model for the stochastic volatility of an asset.
Hull-White stochastic processes.
std::vector< ext::shared_ptr< Dividend > > DividendSchedule
static FdmSchemeDesc Hundsdorfer()
Vanilla option on a single asset.