QuantLib_LinearLeastSquaresRegression (3) - Linux Manuals
QuantLib_LinearLeastSquaresRegression: general linear least squares regression
NAME
QuantLib::LinearLeastSquaresRegression - general linear least squares regression
SYNOPSIS
#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 regressionReferences: 'Numerical Recipes in C', 2nd edition, Press, Teukolsky, Vetterling, Flannery,
Tests
- the correctness of the returned values is tested by checking their properties.
Author
Generated automatically by Doxygen for QuantLib from the source code.