OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
DataSet Class Reference

#include "Dataset.h"

Public Member Functions

void setDataSize (long nX, long nY)
 
std::array< long, 2 > getDataSize ()
 
void addDataPoints (std::vector< double > xValues, std::vector< double > yValues)
 
std::list< std::vector< double > > getxDataPoints ()
 
std::list< std::vector< double > > getyDataPoints ()
 
std::vector< double > getyPredictionPoints ()
 
void printDataSet ()
 
void printxValues ()
 
template<typename T , size_t n>
void findSize (T(&arr)[n])
 

Static Public Member Functions

static std::string toString (std::vector< double > data)
 
static std::string toString (std::list< std::vector< double > > data)
 
static DataSet prepareDataset ()
 

Member Function Documentation

◆ addDataPoints()

void DataSet::addDataPoints ( std::vector< double > xValues,
std::vector< double > yValues )
inline

◆ findSize()

template<typename T , size_t n>
void DataSet::findSize ( T(&) arr[n])
inline

◆ getDataSize()

std::array< long, 2 > DataSet::getDataSize ( )
inline

◆ getxDataPoints()

std::list< std::vector< double > > DataSet::getxDataPoints ( )
inline

◆ getyDataPoints()

std::list< std::vector< double > > DataSet::getyDataPoints ( )
inline

◆ getyPredictionPoints()

std::vector< double > DataSet::getyPredictionPoints ( )
inline

◆ prepareDataset()

static DataSet DataSet::prepareDataset ( )
inlinestatic

◆ printDataSet()

void DataSet::printDataSet ( )
inline

◆ printxValues()

void DataSet::printxValues ( )
inline

◆ setDataSize()

void DataSet::setDataSize ( long nX,
long nY )
inline

◆ toString() [1/2]

static std::string DataSet::toString ( std::list< std::vector< double > > data)
inlinestatic

◆ toString() [2/2]

static std::string DataSet::toString ( std::vector< double > data)
inlinestatic

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