Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWLeastSqQRPvtCalc


RWLeastSqQRPvtCalc RWRegressionCalc<double,double>

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

Synopsis

#include <rw/analytics/lsqqrpvt.h>

RWLeastSqQRPvtCalc calc;

Description

Class RWLeastSqQRPvtCalc implements the calculation of linear regression parameters using QR decomposition with pivoting, as described in Section 5.5.1.2.

Example

Public Constructor

RWLeastSqQRPvtCalc();

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 
RWLeastSqQRPvtCalc* 
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.