Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWLeastSqQRCalc


RWLeastSqQRCalc RWRegressionCalc<double,double>

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include <rw/analytics/lsqqr.h>

RWLeastSqQRCalc calc;

Description

Class RWLeastSqQRCalc implements the calculation of linear regression parameters using QR decomposition, as described in Section 5.5.1.1.

Example

Public Constructor

RWLeastSqQRCalc();

Public Member Functions

virtual 
void 
addObsToBaseCalc(const RWAddObservations<double,double>& r);
virtual 
void
addPredToBaseCalc(const RWAddPredictors<double,double>& r);
virtual 
void
calc(const RWGenMat<double>& xdata, 
     RWMathVec<double> ydata)=0;
virtual 
RWLeastSqQRCalc<double,double>* 
clone() const = 0;
virtual 
RWBoolean 
fail() const = 0;
virtual 
RWCString 
name() const = 0;
virtual
RWMathVec<double>
parameters() const = 0;
virtual 
void
removeObsFromBaseCalc(const
RWRemoveObservations<double,double>& r);
virtual 
void
removePredFromBaseCalc(const
                       RWRemovePredictors<double,double>& r);
virtual 
void
setBaseCalc(const RWGenMat<double>& xdata, 
            const RWMathVec<double>& ydata);


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.