MOOCHO (Single Doxygen Collection)
Version of the Day
|
Sparse pointer element type for a COO matrix (val, ivect, jvect). More...
#include <AbstractLinAlgPack_SparseCOOPtrElement.hpp>
Private Attributes | |
value_type * | pvalue_ |
index_type | row_i_ |
index_type | col_j_ |
Public Typedefs. | |
typedef T_Value | value_type |
typedef T_Index | index_type |
Constructors | |
SparseCOOPtrElement () | |
Construct uninitialized (poiner to value set to zero) (#index() == 0#). More... | |
SparseCOOPtrElement (value_type *pvalue, index_type row_i, index_type col_j) | |
Construct with a pointer to the value and index set. More... | |
void | initialize (value_type *pvalue, index_type row_i, index_type col_j) |
Initialize. More... | |
Value and index access | |
value_type & | value () |
value_type | value () const |
index_type | row_i () const |
index_type | col_j () const |
void | change_indexes (index_type row_i, index_type col_j) |
Change the indexs. More... | |
void | change_value_ptr (value_type *pvalue) |
Change the element pointer. More... | |
Sparse pointer element type for a COO matrix (val, ivect, jvect).
This class abstracts a sparse element of a templated type from a coordinate matrix. It has a pointer to the value of the element.
The default assignment operator and copy constructor are allowed.
Definition at line 59 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
typedef T_Value AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::value_type |
Definition at line 65 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
typedef T_Index AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::index_type |
Definition at line 67 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
inline |
Construct uninitialized (poiner to value set to zero) (#index() == 0#).
Definition at line 75 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
inline |
Construct with a pointer to the value and index set.
Definition at line 79 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
inline |
Initialize.
Definition at line 84 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
inline |
Definition at line 96 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
inline |
Definition at line 101 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
inline |
Definition at line 106 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
inline |
Definition at line 111 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
inline |
Change the indexs.
Definition at line 116 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
inline |
Change the element pointer.
Definition at line 122 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
private |
Definition at line 129 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
private |
Definition at line 130 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
|
private |
Definition at line 130 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.