Functor invoked by RDataFrame::Foreach to fill one row of an RFlat2DMatrix.
Definition at line 60 of file RClusterLoader.hxx.
Public Member Functions | |
| RClusterLoaderFunctor (RFlat2DMatrix &chunkTensor, std::size_t numColumns, const std::vector< std::size_t > &maxVecSizes, float vecPadding, int i, std::size_t rowOffset=0) | |
| void | operator() (const ColTypes &...cols) |
Private Member Functions | |
| template<typename T , std::enable_if_t<!ROOT::Internal::RDF::IsDataContainer< T >::value, int > = 0> | |
| void | AssignToTensor (const T &val, int i, int numColumns) |
| Copy the content of a column into the current tensor when the column consists of scalar values. | |
| template<typename T , std::enable_if_t< ROOT::Internal::RDF::IsDataContainer< T >::value, int > = 0> | |
| void | AssignToTensor (const T &vec, int i, int numColumns) |
| Copy the content of a column into the current tensor when the column consists of vectors. | |
Private Attributes | |
| RFlat2DMatrix & | fChunkTensor |
| int | fI |
| std::vector< std::size_t > | fMaxVecSizes {} |
| std::size_t | fNumChunkCols |
| int | fNumColumns |
| std::size_t | fOffset {} |
| float | fVecPadding {} |
| std::size_t | fVecSizeIdx {} |
#include <ROOT/ML/RClusterLoader.hxx>
|
inline |
Definition at line 102 of file RClusterLoader.hxx.
|
inlineprivate |
Copy the content of a column into the current tensor when the column consists of scalar values.
Definition at line 95 of file RClusterLoader.hxx.
|
inlineprivate |
Copy the content of a column into the current tensor when the column consists of vectors.
Definition at line 75 of file RClusterLoader.hxx.
|
inline |
Definition at line 114 of file RClusterLoader.hxx.
|
private |
Definition at line 65 of file RClusterLoader.hxx.
|
private |
Definition at line 69 of file RClusterLoader.hxx.
|
private |
Definition at line 64 of file RClusterLoader.hxx.
|
private |
Definition at line 67 of file RClusterLoader.hxx.
|
private |
Definition at line 70 of file RClusterLoader.hxx.
|
private |
Definition at line 61 of file RClusterLoader.hxx.
|
private |
Definition at line 63 of file RClusterLoader.hxx.
|
private |
Definition at line 62 of file RClusterLoader.hxx.