1#ifndef ROOT_TMVA_RFLAT2DMATRIX
2#define ROOT_TMVA_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 Reshape(std::size_t rows, std::size_t cols)
std::size_t GetCols() const
float & operator[](std::size_t i)
std::size_t GetSize() const
const float & operator[](std::size_t i) const
std::pair< std::size_t, std::size_t > GetShape() const
std::size_t GetRows() const
const float * GetData() const
void Resize(std::size_t rows, std::size_t cols)
RFlat2DMatrix(std::size_t rows, std::size_t cols)