AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value > Class Template Reference

Sparse pointer element type. More...

#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#). More...
 
 SparsePtrElement (indice_type indice, value_type *pvalue)
 Construct with a pointer to the value and indice set. More...
 

Value and indice access

value_typevalue ()
 
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...
 

Detailed Description

template<class T_Indice, class T_Value>
class AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >

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.

Member Typedef Documentation

template<class T_Indice , class T_Value >
typedef T_Value AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value_type

Definition at line 65 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice , class T_Value >
typedef T_Indice AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::indice_type

Definition at line 67 of file AbstractLinAlgPack_SparsePtrElement.hpp.

Constructor & Destructor Documentation

template<class T_Indice , class T_Value >
AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::SparsePtrElement ( )
inline

Construct uninitialized (poiner to value set to zero) (indice() == 0#).

Definition at line 75 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice , class T_Value >
AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::SparsePtrElement ( indice_type  indice,
value_type pvalue 
)
inline

Construct with a pointer to the value and indice set.

Definition at line 79 of file AbstractLinAlgPack_SparsePtrElement.hpp.

Member Function Documentation

template<class T_Indice , class T_Value >
value_type& AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value ( )
inline

Definition at line 88 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice , class T_Value >
value_type AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::value ( ) const
inline

Definition at line 93 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice , class T_Value >
indice_type AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::indice ( ) const
inline

Definition at line 98 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice , class T_Value >
void AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::change_indice ( indice_type  indice)
inline

Change the indice.

Definition at line 103 of file AbstractLinAlgPack_SparsePtrElement.hpp.

template<class T_Indice , class T_Value >
void AbstractLinAlgPack::SparsePtrElement< T_Indice, T_Value >::change_value_ptr ( value_type pvalue)
inline

Change the element pointer.

Definition at line 108 of file AbstractLinAlgPack_SparsePtrElement.hpp.


The documentation for this class was generated from the following file: