SHOGUN
4.2.0
|
Struct that represents the sparsity structure of the Sparse Matrix in CRS. Implementation has been adapted from Krylstat (https://github.com/ Froskekongen/KRYLSTAT) library (c) Erlend Aune erlen under GPL2+. da@m ath.n tnu. no
Definition at line 28 of file SparseMatrixOperator.h.
Public Member Functions | |
SparsityStructure () | |
SparsityStructure (index_t *row_offsets, index_t *column_indices, index_t num_rows) | |
~SparsityStructure () | |
void | display_sparsity_structure () |
Public Attributes | |
index_t | m_num_rows |
int32_t ** | m_ptr |
default constructor
Definition at line 31 of file SparseMatrixOperator.h.
SparsityStructure | ( | index_t * | row_offsets, |
index_t * | column_indices, | ||
index_t | num_rows | ||
) |
constructor
row_offsets | outer index ptr in CRS |
column_indices | inner index ptr in CRS |
num_rows | number of rows |
Definition at line 40 of file SparseMatrixOperator.h.
~SparsityStructure | ( | ) |
destructor
Definition at line 60 of file SparseMatrixOperator.h.
void display_sparsity_structure | ( | ) |
display sparsity structure
Definition at line 68 of file SparseMatrixOperator.h.
index_t m_num_rows |
number of rows
Definition at line 85 of file SparseMatrixOperator.h.
int32_t** m_ptr |
the pointer that stores the nnz entries
Definition at line 88 of file SparseMatrixOperator.h.