|
AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects
Version of the Day
|
Sparse pointer element type for a COO matrix (val, ivect, jvect). More...
#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. | |
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.
| AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::SparseCOOPtrElement | ( | ) | [inline] |
Construct uninitialized (poiner to value set to zero) (#index() == 0#).
Definition at line 75 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 79 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] |
Initialize.
Definition at line 84 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
| value_type& AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::value | ( | ) | [inline] |
Definition at line 96 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
| value_type AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::value | ( | ) | const [inline] |
Definition at line 101 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
| index_type AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::row_i | ( | ) | const [inline] |
Definition at line 106 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
| index_type AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::col_j | ( | ) | const [inline] |
Definition at line 111 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
| void AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::change_indexes | ( | index_type | row_i, |
| index_type | col_j | ||
| ) | [inline] |
Change the indexs.
Definition at line 116 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
| void AbstractLinAlgPack::SparseCOOPtrElement< T_Index, T_Value >::change_value_ptr | ( | value_type * | pvalue | ) | [inline] |
Change the element pointer.
Definition at line 122 of file AbstractLinAlgPack_SparseCOOPtrElement.hpp.
1.7.6.1