SG++-Doxygen-Documentation
|
Copies data from DataVector objects into DataVectorSP objects and vice versa. More...
#include <PrecisionConverter.hpp>
Static Public Member Functions | |
static void | convertDataMatrixSPToDataMatrix (const sgpp::base::DataMatrixSP &src, sgpp::base::DataMatrix &dest) |
Copies data from DataMatrixSP object into DataMatrix object. More... | |
static void | convertDataMatrixToDataMatrixSP (const sgpp::base::DataMatrix &src, sgpp::base::DataMatrixSP &dest) |
Copies data from DataMatrix object into DataMatrixSP object. More... | |
static void | convertDataVectorSPToDataVector (const sgpp::base::DataVectorSP &src, sgpp::base::DataVector &dest) |
Copies data from DataVectorSP object into DataVector object. More... | |
static void | convertDataVectorToDataVectorSP (const sgpp::base::DataVector &src, sgpp::base::DataVectorSP &dest) |
Copies data from DataVector object into DataVectorSP object. More... | |
Copies data from DataVector objects into DataVectorSP objects and vice versa.
Copies data from DataMatrix objects into DataMatrixSP objects and vice versa.
|
static |
Copies data from DataMatrixSP object into DataMatrix object.
src | source DataMatrixSP, single precision |
dest | destination DataMatrix, double precision |
References sgpp::base::DataMatrixSP::get(), sgpp::base::DataMatrixSP::getNcols(), sgpp::base::DataMatrix::getNcols(), sgpp::base::DataMatrixSP::getNrows(), sgpp::base::DataMatrix::getNrows(), python.statsfileInfo::i, python.utils.statsfile2gnuplot::j, and sgpp::base::DataMatrix::set().
Referenced by sgpp::datadriven::LearnerBaseSP::predict().
|
static |
Copies data from DataMatrix object into DataMatrixSP object.
src | source DataMatrix, double precision |
dest | destination DataMatrixSP, single precision |
References sgpp::base::DataMatrix::get(), sgpp::base::DataMatrixSP::getNcols(), sgpp::base::DataMatrix::getNcols(), sgpp::base::DataMatrixSP::getNrows(), sgpp::base::DataMatrix::getNrows(), python.statsfileInfo::i, python.utils.statsfile2gnuplot::j, and sgpp::base::DataMatrixSP::set().
|
static |
Copies data from DataVectorSP object into DataVector object.
src | source DataVectorSP, single precision |
dest | destination DataVector, double precision |
References sgpp::base::DataVectorSP::get(), sgpp::base::DataVector::getSize(), sgpp::base::DataVectorSP::getSize(), python.statsfileInfo::i, and sgpp::base::DataVector::set().
Referenced by sgpp::datadriven::LearnerBaseSP::dumpFunction(), sgpp::datadriven::LearnerBaseSP::dumpGrid(), sgpp::datadriven::LearnerBaseSP::predict(), and sgpp::datadriven::LearnerBaseSP::train().
|
static |
Copies data from DataVector object into DataVectorSP object.
src | source DataVector, double precision |
dest | destination DataVectorSP, single precision |
References sgpp::base::DataVector::get(), sgpp::base::DataVector::getSize(), sgpp::base::DataVectorSP::getSize(), python.statsfileInfo::i, and sgpp::base::DataVectorSP::set().
Referenced by sgpp::datadriven::LearnerBaseSP::predict().