1 #ifndef STAT_DATA_SET_H 2 #define STAT_DATA_SET_H 17 inline Real& operator()(
int i,
int j) {
return data(i,j); }
18 inline const Real& operator()(
int i,
int j)
const {
return data(i,j); }
23 void SetObservations(
const std::vector<Vector>& input);
41 std::vector<std::string> labels;
void SetElement(int j, std::vector< Real > &in)
sets the jth element of data to the input vector
void SetObservation(int i, std::vector< Real > &in)
sets the ith observation to the input vector
void GetElement(int j, std::vector< Real > &out)
outputs the jth element of data into the output vector
Definition: DataSet.cpp:36
Contains all definitions in the statistics directory.
Definition: BernoulliDistribution.h:6
void GetObservation(int i, std::vector< Real > &out)
outputs the ith observation into the output vector
Basic statistical utilities.
void GetObservations(std::vector< Vector > &output)
Definition: DataSet.cpp:4