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

RWLeastSqSVDCalc


RWLeastSqSVDCalc RWRegressionCalc<double,double>

Local Index

Members

Synopsis

#include <rw/analytics/lsqsvd.h>

RWLeastSqSVDCalc calc;

Description

Class RWLeastSqSVDCalc implements the calculation of linear regression parameters using singular value decomposition, as described in Section 5.5.1.3, "RWLeastSqSVDCalc" in the Business Analysis Module User's Guide

Example

Public Constructor

RWLeastSqSVDCalc();
RWLeastSqSVDCalc(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 
RWLeastSqSVDCalc* 
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.