24#ifndef quantlib_fd_2d_black_scholes_vanilla_engine_hpp
25#define quantlib_fd_2d_black_scholes_vanilla_engine_hpp
45 const ext::shared_ptr<GeneralizedBlackScholesProcess>& p1,
46 const ext::shared_ptr<GeneralizedBlackScholesProcess>& p2,
49 Size tGrid = 50,
Size dampingSteps = 0,
51 bool localVol =
false,
57 const ext::shared_ptr<GeneralizedBlackScholesProcess>
p1_;
58 const ext::shared_ptr<GeneralizedBlackScholesProcess>
p2_;
Basket option on a number of assets.
Basket-option engine base class
Two dimensional finite-differences Black Scholes vanilla option engine.
const ext::shared_ptr< GeneralizedBlackScholesProcess > p1_
void calculate() const override
const ext::shared_ptr< GeneralizedBlackScholesProcess > p2_
const FdmSchemeDesc schemeDesc_
const Real illegalLocalVolOverwrite_
template class providing a null value for a given type.
std::size_t Size
size of a container
Base class for pricing engines.
static FdmSchemeDesc Hundsdorfer()