1 #ifndef PARALUTION_MATRIX_FORMATS_HPP_
2 #define PARALUTION_MATRIX_FORMATS_HPP_
32 template <
typename ValueType,
typename IndexType>
46 template <
typename ValueType,
typename IndexType>
61 template <
typename ValueType,
typename IndexType>
67 template <
typename ValueType,
typename IndexType>
81 template <
typename ValueType,
typename IndexType,
typename Index = IndexType>
95 template <
typename ValueType,
typename IndexType,
typename Index = IndexType>
109 template <
typename ValueType,
typename IndexType,
typename Index = IndexType>
116 template <
typename ValueType>
125 #endif // PARALUTION_MATRIX_FORMATS_HPP_
Definition: matrix_formats.hpp:22
Definition: matrix_formats.hpp:25
Definition: matrix_formats.hpp:20
Definition: matrix_formats.hpp:27
ValueType * val
Values.
Definition: matrix_formats.hpp:119
Sparse Matrix - Coordinate Format.
Definition: matrix_formats.hpp:68
Sparse Matrix - Contains ELL and COO Matrices.
Definition: matrix_formats.hpp:110
IndexType * col
Column index.
Definition: matrix_formats.hpp:52
_matrix_format
Matrix Enumeration.
Definition: matrix_formats.hpp:20
ValueType * diag
Diagonal elements.
Definition: matrix_formats.hpp:58
Index max_row
Maximal elements per row.
Definition: matrix_formats.hpp:98
Index num_diag
Number of diagonal.
Definition: matrix_formats.hpp:84
IndexType * row
Row index.
Definition: matrix_formats.hpp:70
ValueType * val
Values.
Definition: matrix_formats.hpp:41
Dense Matrix (see DENSE_IND for indexing)
Definition: matrix_formats.hpp:117
Sparse Matrix - ELL Format (see ELL_IND for indexing)
Definition: matrix_formats.hpp:96
IndexType * col
Column index.
Definition: matrix_formats.hpp:73
IndexType * col
Column index.
Definition: matrix_formats.hpp:101
MatrixCOO< ValueType, IndexType > COO
Definition: matrix_formats.hpp:112
IndexType * offset
Offset with respect to the main diagonal.
Definition: matrix_formats.hpp:87
IndexType * row_offset
Row offsets (row ptr)
Definition: matrix_formats.hpp:35
ValueType * val
Values.
Definition: matrix_formats.hpp:90
ValueType * val
Values.
Definition: matrix_formats.hpp:104
Sparse Matrix - Modified Sparse Compressed Row Format.
Definition: matrix_formats.hpp:47
IndexType * col
Column index.
Definition: matrix_formats.hpp:38
Definition: matrix_formats.hpp:23
IndexType * row_offset
Row offsets (row ptr)
Definition: matrix_formats.hpp:49
ValueType * val
Values.
Definition: matrix_formats.hpp:55
Definition: backend_manager.cpp:43
Sparse Matrix - Diagonal Format (see DIA_IND for indexing)
Definition: matrix_formats.hpp:82
ValueType * val
Definition: matrix_formats.hpp:76
Definition: matrix_formats.hpp:21
Definition: matrix_formats.hpp:26
const std::string _matrix_format_names[8]
Matrix Names.
Definition: matrix_formats.hpp:9
MatrixELL< ValueType, IndexType, Index > ELL
Definition: matrix_formats.hpp:111
Definition: matrix_formats.hpp:24
Definition: matrix_formats.hpp:62
Sparse Matrix - Sparse Compressed Row Format.
Definition: matrix_formats.hpp:33