9 for (
int col = 0; col < columns;col++)
11 for (
int row = 0; row < rows; row++)
13 temp->SetValue(row, col, columnWiseData[col][row]);
30 for (
int col = 0; col < columns;col++)
32 for (
int row = 0; row < rows; row++)
34 temp->SetValue(row, col, columnWiseData[col][row]);
static Matrix< T > * CreateRowWiseOptimized(int64_t rows, int64_t columns, std::vector< std::vector< T > > columnWiseData)
Definition MatrixFactory.hpp:6
static Matrix< T > * CreateRowWiseOptimizedEmpty(int64_t rows, int64_t columns)
Definition MatrixFactory.hpp:21
static Matrix< T > * CreateColumnWiseOptimizedEmpty(int64_t rows, int64_t columns)
Definition MatrixFactory.hpp:42
static Matrix< T > * CreateColumnWiseOptimized(int64_t rows, int64_t columns, std::vector< std::vector< T > > columnWiseData)
Definition MatrixFactory.hpp:27