SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Holds information about adding observations to a parameter calculation. More...
#include <rw/analytics/regcalc.h>
Public Member Functions | |
RWAddObservations () | |
RWAddObservations (const RWAddObservations< T, S > &a) | |
RWAddObservations (const RWGenMat< T > &r, const RWMathVec< S > o, size_t numAdded, bool setBaseToLast=false) | |
int | numAdded () const |
void | setNumAdded (int na) |
Public Member Functions inherited from RWRegressionDataChange< T, S > | |
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) |
Class RWAddObservations<T,S> holds information about adding observations to a parameter calculation object's base calculation. This information must consist of the following:
|
inline |
Default constructor. Constructs an empty RWAddObservations object.
|
inline |
Copy constructor. Constructs a copy of a.
|
inline |
Constructs an RWAddObservations object with the given regression matrix and observation vector. It assumes that the matrix r is obtained from the base calculations regression matrix by appending numAdded rows, and that the observation vector o is obtained from the base calculations by appending numAdded values. If setBaseToLast is true
, the base calculations regression matrix is set to r.
|
inline |
Returns the number of observations added.
|
inline |
Sets the number of observations added.
Copyright © 2014 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.
Provide feedback to Rogue Wave about its documentation.