#include <AbstractLinAlgPack_SparseCOOPtrElement.hpp>
Public Typedefs. | |
| typedef T_Value | value_type |
| | |
| typedef T_Index | index_type |
| | |
Constructors | |
| SparseCOOPtrElement () | |
| Construct uninitialized (poiner to value set to zero) (index() == 0#). | |
| SparseCOOPtrElement (value_type *pvalue, index_type row_i, index_type col_j) | |
| Construct with a pointer to the value and index set. | |
| void | initialize (value_type *pvalue, index_type row_i, index_type col_j) |
| Initialize. | |
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. | |
| void | change_value_ptr (value_type *pvalue) |
| Change the element pointer. | |
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 46 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
| typedef T_Value AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::value_type |
| typedef T_Index AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::index_type |
| AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::SparseCOOPtrElement | ( | ) | [inline] |
Construct uninitialized (poiner to value set to zero) (index() == 0#).
Definition at line 62 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
| AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::SparseCOOPtrElement | ( | value_type * | pvalue, | |
| index_type | row_i, | |||
| index_type | col_j | |||
| ) | [inline] |
Construct with a pointer to the value and index set.
Definition at line 66 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
| void AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::initialize | ( | value_type * | pvalue, | |
| index_type | row_i, | |||
| index_type | col_j | |||
| ) | [inline] |
| value_type& AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::value | ( | ) | [inline] |
| value_type AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::value | ( | ) | const [inline] |
| index_type AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::row_i | ( | ) | const [inline] |
| index_type AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::col_j | ( | ) | const [inline] |
| void AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::change_indexes | ( | index_type | row_i, | |
| index_type | col_j | |||
| ) | [inline] |
| void AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::change_value_ptr | ( | value_type * | pvalue | ) | [inline] |
Change the element pointer.
Definition at line 109 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
1.4.7