42 #ifndef SPARSE_COO_PTR_ELEMENT_H
43 #define SPARSE_COO_PTR_ELEMENT_H
45 #include "AbstractLinAlgPack_Types.hpp"
47 namespace AbstractLinAlgPack {
58 template <
class T_Index,
class T_Value>
80 : pvalue_(pvalue), row_i_(row_i), col_j_(col_j)
130 index_type row_i_, col_j_;
136 #endif // SPARSE_COO_PTR_ELEMENT_H
void change_indexes(index_type row_i, index_type col_j)
Change the indexs.
void change_value_ptr(value_type *pvalue)
Change the element pointer.
SparseCOOPtrElement(value_type *pvalue, index_type row_i, index_type col_j)
Construct with a pointer to the value and index set.
Sparse pointer element type for a COO matrix (val, ivect, jvect).
void initialize(value_type *pvalue, index_type row_i, index_type col_j)
Initialize.
SparseCOOPtrElement()
Construct uninitialized (poiner to value set to zero) (#index() == 0#).