SourcePro® API Reference Guide

Product Documentation:
   SourcePro
Documentation Home
List of all members | Public Member Functions
RWRegressionDataChange< T, S > Class Template Reference

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 >

Public Member Functions

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

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.

Copyright © 2021 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.