OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
MatrixFactory.h
Go to the documentation of this file.
1#pragma once
2#include <vector>
3#include "Matrix.h"
4template <class T>
6{
7public:
8 static Matrix<T>* CreateRowWiseOptimized(int64_t rows, int64_t columns, std::vector<std::vector<T>> columnWiseData);
9 static Matrix<T>* CreateRowWiseOptimizedEmpty(int64_t rows, int64_t columns);
10 static Matrix<T>* CreateColumnWiseOptimized(int64_t rows, int64_t columns, std::vector<std::vector<T>> columnWiseData);
11 static Matrix<T>* CreateColumnWiseOptimizedEmpty(int64_t rows, int64_t columns);
12};
13
14
15#include "MatrixFactory.hpp"
Access optimized dense matrix handle.
Definition MatrixFactory.h:6
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
Definition Matrix.h:13