1#ifndef ROOT_INTERNAL_ML_RFLAT2DMATRIX
2#define ROOT_INTERNAL_ML_RFLAT2DMATRIX
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
pointer data() noexcept
Return a pointer to the vector's buffer, even if empty().
Wrapper around ROOT::RVec<float> representing a 2D matrix.
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)