21#ifndef quantlib_generic_longstaff_schwartz_hpp
22#define quantlib_generic_longstaff_schwartz_hpp
24#include <ql/methods/montecarlo/nodedata.hpp>
39 std::vector<std::vector<NodeData> >& simulationData,
40 std::vector<std::vector<Real> >& basisCoefficients);
Real genericLongstaffSchwartzRegression(std::vector< std::vector< NodeData > > &simulationData, std::vector< std::vector< Real > > &basisCoefficients)
returns the biased estimate obtained while regressing