MOOCHO (Single Doxygen Collection)
Version of the Day
|
Sparse pointer element type. More...
#include <AbstractLinAlgPack_SparsePtrElement.hpp>
Private Attributes | |
indice_type | indice_ |
value_type * | pvalue_ |
Public Typedefs. | |
typedef T_Value | value_type |
typedef T_Indice | indice_type |
Constructors | |
SparsePtrElement () | |
Construct uninitialized (poiner to value set to zero) (indice() == 0#). More... | |
SparsePtrElement (indice_type indice, value_type *pvalue) | |
Construct with a pointer to the value and indice set. More... | |
Value and indice access | |
value_type & | value () |
value_type | value () const |
indice_type | indice () const |
void | change_indice (indice_type indice) |
Change the indice. More... | |
void | change_value_ptr (value_type *pvalue) |
Change the element pointer. More... | |
Sparse pointer element type.
This class abstracts a sparse element of a templated type. It is ment to be used in a sparse vector. 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_SparsePtrElement.hpp.
typedef T_Value AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value_type |
Definition at line 65 of file AbstractLinAlgPack_SparsePtrElement.hpp.
typedef T_Indice AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::indice_type |
Definition at line 67 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
inline |
Construct uninitialized (poiner to value set to zero) (indice() == 0#).
Definition at line 75 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
inline |
Construct with a pointer to the value and indice set.
Definition at line 79 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
inline |
Definition at line 88 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
inline |
Definition at line 93 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
inline |
Definition at line 98 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
inline |
Change the indice.
Definition at line 103 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
inline |
Change the element pointer.
Definition at line 108 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
private |
Definition at line 115 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
private |
Definition at line 116 of file AbstractLinAlgPack_SparsePtrElement.hpp.