21 template<
typename AReal>
23 template<
typename AReal>
27 template<
typename AReal>
29 : fBuffer(nRows * nCols), fNCols(nCols), fNRows(nRows)
35 template<
typename AReal>
40 for (
size_t j = 0; j <
fNCols; j++) {
41 for (
size_t i = 0; i <
fNRows; i++) {
42 (*this)(i,j) =
B(i,j);
48 template<
typename AReal>
58 template<
typename AReal>
63 for (
size_t j = 0; j <
fNCols; j++) {
64 for (
size_t i = 0; i <
fNRows; i++) {
65 B(i,j) = (*this)(i, j);
73 template<
typename AReal>
TCpuBuffer< AFloat > fBuffer
The buffer holding the matrix elements in column-major format.
static ROOT::TThreadExecutor fPool
TCpuMatrix(size_t nRows, size_t nCols)
Construct matrix and allocate space for its elements.
Abstract ClassifierFactory template that handles arbitrary types.
static std::vector< AFloat > fOnes
Vector filled with ones used for BLAS calls.