AbstractLinAlgPack::TransSparseCOOElementViewIter< T_Iter, T_IterCat, T_Indice, T_ValRef, T_Diff >::ElementView< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff > Class Template Reference

Type for the object that is returned for the transpose sparse element. More...

#include <AbstractLinAlgPack_TransSparseCOOElementViewIter.hpp>

List of all members.

Public Types

typedef TT_Indice indice_type
 
typedef TT_ValRef value_ref_type
 

Public Member Functions

 ElementView (const TT_Iter &iter)
 Construct with an iterator to the first element.
value_ref_type value () const
 
indice_type row_i () const
 returns col_j() of the underlying COO element
indice_type col_j () const
 returns row_i() of the underlying COO element

Friends

class TransSparseCOOElementViewIter< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff >


Detailed Description

template<class T_Iter, class T_IterCat, class T_Indice, class T_ValRef, class T_Diff>
template<class TT_Iter, class TT_IterCat, class TT_Indice, class TT_ValRef, class TT_Diff>
class AbstractLinAlgPack::TransSparseCOOElementViewIter< T_Iter, T_IterCat, T_Indice, T_ValRef, T_Diff >::ElementView< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff >

Type for the object that is returned for the transpose sparse element.

The default copy constructor is allowed but not the default constructor or assignment operator.

Here the type of element may be const or nonconst in accordance with the iterator's type. The element view (const or nonconst) is just a view to this type.

Definition at line 82 of file AbstractLinAlgPack_TransSparseCOOElementViewIter.hpp.


Member Typedef Documentation

template<class T_Iter, class T_IterCat, class T_Indice, class T_ValRef, class T_Diff>
template<class TT_Iter, class TT_IterCat, class TT_Indice, class TT_ValRef, class TT_Diff>
typedef TT_Indice AbstractLinAlgPack::TransSparseCOOElementViewIter< T_Iter, T_IterCat, T_Indice, T_ValRef, T_Diff >::ElementView< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff >::indice_type

Definition at line 92 of file AbstractLinAlgPack_TransSparseCOOElementViewIter.hpp.

template<class T_Iter, class T_IterCat, class T_Indice, class T_ValRef, class T_Diff>
template<class TT_Iter, class TT_IterCat, class TT_Indice, class TT_ValRef, class TT_Diff>
typedef TT_ValRef AbstractLinAlgPack::TransSparseCOOElementViewIter< T_Iter, T_IterCat, T_Indice, T_ValRef, T_Diff >::ElementView< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff >::value_ref_type

Definition at line 94 of file AbstractLinAlgPack_TransSparseCOOElementViewIter.hpp.


Constructor & Destructor Documentation

template<class T_Iter, class T_IterCat, class T_Indice, class T_ValRef, class T_Diff>
template<class TT_Iter, class TT_IterCat, class TT_Indice, class TT_ValRef, class TT_Diff>
AbstractLinAlgPack::TransSparseCOOElementViewIter< T_Iter, T_IterCat, T_Indice, T_ValRef, T_Diff >::ElementView< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff >::ElementView ( const TT_Iter &  iter  )  [inline]

Construct with an iterator to the first element.

Definition at line 98 of file AbstractLinAlgPack_TransSparseCOOElementViewIter.hpp.


Member Function Documentation

template<class T_Iter, class T_IterCat, class T_Indice, class T_ValRef, class T_Diff>
template<class TT_Iter, class TT_IterCat, class TT_Indice, class TT_ValRef, class TT_Diff>
value_ref_type AbstractLinAlgPack::TransSparseCOOElementViewIter< T_Iter, T_IterCat, T_Indice, T_ValRef, T_Diff >::ElementView< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff >::value (  )  const [inline]

Definition at line 104 of file AbstractLinAlgPack_TransSparseCOOElementViewIter.hpp.

template<class T_Iter, class T_IterCat, class T_Indice, class T_ValRef, class T_Diff>
template<class TT_Iter, class TT_IterCat, class TT_Indice, class TT_ValRef, class TT_Diff>
indice_type AbstractLinAlgPack::TransSparseCOOElementViewIter< T_Iter, T_IterCat, T_Indice, T_ValRef, T_Diff >::ElementView< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff >::row_i (  )  const [inline]

returns col_j() of the underlying COO element

Definition at line 109 of file AbstractLinAlgPack_TransSparseCOOElementViewIter.hpp.

template<class T_Iter, class T_IterCat, class T_Indice, class T_ValRef, class T_Diff>
template<class TT_Iter, class TT_IterCat, class TT_Indice, class TT_ValRef, class TT_Diff>
indice_type AbstractLinAlgPack::TransSparseCOOElementViewIter< T_Iter, T_IterCat, T_Indice, T_ValRef, T_Diff >::ElementView< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff >::col_j (  )  const [inline]

returns row_i() of the underlying COO element

Definition at line 114 of file AbstractLinAlgPack_TransSparseCOOElementViewIter.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:50:53 2010 for AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects by  doxygen 1.4.7