Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Business Analysis Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWLeastSqQRPvtCalc


RWLeastSqQRPvtCalc RWRegressionCalc<double,double>

Local Index

Members

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, "RWLeastSqQRPvtCalc" in the Business Analysis Module User's Guide.

Example

Public Constructor

RWLeastSqQRPvtCalc();
RWLeastSqQRPvtCalc(double tol=0.0);

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);
virtual 
RWLeastSqQRPvtCalc* 
clone() const;
virtual 
bool 
fail() const;
virtual 
RWCString 
name() const;
virtual
RWMathVec<double>
parameters() const;
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);
void
setTolerance(double tol);
double 
getTolerance()const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.