rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWRegressionDataChange< T, S > Class Template Reference
[Parameter Calculation]

Base class for data change objects when adding predictor variables or observations to a parameter calculation. More...

#include <rw/analytics/regcalc.h>

Inheritance diagram for RWRegressionDataChange< T, S >:
RWAddObservations< T, S > RWAddPredictors< T, S > RWRemoveObservations< T, S > RWRemovePredictors< T, S >

List of all members.

Public Member Functions

const RWGenMat< T > & newRegressionMat () const
const RWMathVec< S > & newObservationVec () const
void setNewRegressionMat (const RWGenMat< T > &r)
void setNewObservationVec (const RWMathVec< S > &o)
bool baseToLast () const
void setBaseToLast (bool s)

Detailed Description

template<class T, class S>
class RWRegressionDataChange< T, S >

Base class for the data change objects which are used to hold information about adding predictor variables or observations to a parameter calculation object's base calculation.


Member Function Documentation

template<class T , class S >
bool RWRegressionDataChange< T, S >::baseToLast (  )  const [inline]

Returns true if the base calculation is to be set to the new regression matrix and new observation vector.

template<class T , class S >
const RWMathVec<S>& RWRegressionDataChange< T, S >::newObservationVec (  )  const [inline]

Returns the new observation vector.

template<class T , class S >
const RWGenMat<T>& RWRegressionDataChange< T, S >::newRegressionMat (  )  const [inline]

Returns the new regression matrix.

template<class T , class S >
void RWRegressionDataChange< T, S >::setBaseToLast ( bool  s  )  [inline]

Sets the base to last option to s.

template<class T , class S >
void RWRegressionDataChange< T, S >::setNewObservationVec ( const RWMathVec< S > &  o  )  [inline]

Sets the new observation to o.

template<class T , class S >
void RWRegressionDataChange< T, S >::setNewRegressionMat ( const RWGenMat< T > &  r  )  [inline]

Sets the new regression matrix to r.

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© 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.