24#ifndef quantlib_single_factor_bsm_basket_engine_hpp
25#define quantlib_single_factor_bsm_basket_engine_hpp
45 std::vector<ext::shared_ptr<GeneralizedBlackScholesProcess> > p,
53 const std::vector<ext::shared_ptr<GeneralizedBlackScholesProcess> >
processes_;
Basket option on a number of assets.
1-D array used in linear algebra.
Basket-option engine base class
Pricing engine for baskets where all underlyings are driven by one stochastic factor.
void calculate() const override
const std::vector< ext::shared_ptr< GeneralizedBlackScholesProcess > > processes_
Real derivative(Real x) const
Real operator()(Real x) const
Size getDerivativeCtr() const
Real secondDerivative(Real x) const
Size getSecondDerivativeCtr() const
Real getRoot(Real xTol=1e6 *QL_EPSILON, Strategy strategy=Brent) const
std::size_t Size
size of a container
Base class for pricing engines.