#include <AbstractLinAlgPack_SparsePtrElement.hpp>
Public Typedefs. | |
| typedef T_Value | value_type |
| | |
| typedef T_Indice | indice_type |
| | |
Constructors | |
| SparsePtrElement () | |
| Construct uninitialized (poiner to value set to zero) (indice() == 0#). | |
| SparsePtrElement (indice_type indice, value_type *pvalue) | |
| Construct with a pointer to the value and indice set. | |
Value and indice access | |
| value_type & | value () |
| | |
| value_type | value () const |
| | |
| indice_type | indice () const |
| | |
| void | change_indice (indice_type indice) |
| Change the indice. | |
| void | change_value_ptr (value_type *pvalue) |
| Change the element pointer. | |
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 46 of file AbstractLinAlgPack_SparsePtrElement.hpp.
|
|||||
|
Definition at line 52 of file AbstractLinAlgPack_SparsePtrElement.hpp. |
|
|||||
|
Definition at line 54 of file AbstractLinAlgPack_SparsePtrElement.hpp. |
|
|||||||||
|
Construct uninitialized (poiner to value set to zero) (indice() == 0#).
Definition at line 62 of file AbstractLinAlgPack_SparsePtrElement.hpp. |
|
||||||||||||||||
|
Construct with a pointer to the value and indice set.
Definition at line 66 of file AbstractLinAlgPack_SparsePtrElement.hpp. |
|
|||||||||
|
Definition at line 75 of file AbstractLinAlgPack_SparsePtrElement.hpp. |
|
|||||||||
|
Definition at line 80 of file AbstractLinAlgPack_SparsePtrElement.hpp. |
|
|||||||||
|
Definition at line 85 of file AbstractLinAlgPack_SparsePtrElement.hpp. |
|
||||||||||
|
Change the indice.
Definition at line 90 of file AbstractLinAlgPack_SparsePtrElement.hpp. |
|
||||||||||
|
Change the element pointer.
Definition at line 95 of file AbstractLinAlgPack_SparsePtrElement.hpp. |
1.3.9.1