LinearLeastSquaresRegression (3) - Linux Man Pages

LinearLeastSquaresRegression: general linear least squares regression


QuantLib::LinearLeastSquaresRegression - general linear least squares regression


#include <ql/math/linearleastsquaresregression.hpp>

Public Member Functions

LinearLeastSquaresRegression (const std::vector< ArgumentType > &x, const std::vector< Real > &y, const std::vector< boost::function1< Real, ArgumentType > > &v)

const Array & a () const

const Array & error () const

Detailed Description

template<class ArgumentType = Real> class QuantLib::LinearLeastSquaresRegression< ArgumentType >

general linear least squares regression

References: 'Numerical Recipes in C', 2nd edition, Press, Teukolsky, Vetterling, Flannery,


the correctness of the returned values is tested by checking their properties.


Generated automatically by Doxygen for QuantLib from the source code.