1#ifndef ROOT_INTERNAL_ML_RFLAT2DMATRIX
2#define ROOT_INTERNAL_ML_RFLAT2DMATRIX
35 void Resize(std::size_t rows, std::size_t cols)
39 fRVec.resize(rows * cols);
42 void Reshape(std::size_t rows, std::size_t cols)
45 assert(rows * cols ==
fRVec.size());
ROOT::VecOps::RVec< float > RVecF
void Resize(std::size_t rows, std::size_t cols)
const float & operator[](std::size_t i) const
const float * GetData() const
std::size_t GetSize() const
std::size_t GetRows() const
void Reshape(std::size_t rows, std::size_t cols)
float & operator[](std::size_t i)
std::size_t GetCols() const
std::pair< std::size_t, std::size_t > GetShape() const
RFlat2DMatrix(std::size_t rows, std::size_t cols)