11#ifndef ROOT_INTERNAL_ML_RFLAT2DMATRIXOPERATORS
12#define ROOT_INTERNAL_ML_RFLAT2DMATRIXOPERATORS
37 std::random_device
rd;
58 for (std::size_t i = 0; i <
rows; i++) {
97 std::size_t
index = 0;
98 for (std::size_t i = 0; i <
Tensors.size(); i++) {
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t index
Collection of operations applied to one or multiple flat 2D matrices.
void SliceTensor(RFlat2DMatrix &SlicedTensor, RFlat2DMatrix &Tensor, const std::vector< std::vector< std::size_t > > &slice)
RFlat2DMatrixOperators(bool shuffle=true, const std::size_t setSeed=0)
void ConcatenateTensors(RFlat2DMatrix &ConcatTensor, const std::vector< RFlat2DMatrix > &Tensors)
void ShuffleTensor(RFlat2DMatrix &ShuffledTensor, RFlat2DMatrix &Tensor)
Wrapper around ROOT::RVec<float> representing a 2D matrix.