KrisLibrary  1.0.0
Public Member Functions | Public Attributes | List of all members
Statistics::DataSet Class Reference

Public Member Functions

Real & operator() (int i, int j)
 
const Real & operator() (int i, int j) const
 
void GetObservations (std::vector< Vector > &output)
 
void SetObservations (const std::vector< Vector > &input)
 
void SetObservation (int i, std::vector< Real > &in)
 sets the ith observation to the input vector
 
void SetObservation (int i, Vector &in)
 
void GetObservation (int i, std::vector< Real > &out)
 outputs the ith observation into the output vector
 
void GetObservation (int i, Vector &out)
 
void SetElement (int j, std::vector< Real > &in)
 sets the jth element of data to the input vector
 
void SetElement (int j, Vector &in)
 
void GetElement (int j, std::vector< Real > &out)
 outputs the jth element of data into the output vector
 
void GetElement (int j, Vector &out)
 

Public Attributes

std::vector< std::string > labels
 
Matrix data
 

Member Function Documentation

void DataSet::GetObservations ( std::vector< Vector > &  output)

outputs the observations into the vector<Vector> form. Note: (Vector's are references!)


The documentation for this class was generated from the following files: