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
Public Types | Public Member Functions | List of all members
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>

Inheritance diagram for AbstractLinAlgPack::TransSparseCOOElementViewIter< T_Iter, T_IterCat, T_Indice, T_ValRef, T_Diff >::ElementView< TT_Iter, TT_IterCat, TT_Indice, TT_ValRef, TT_Diff >:
Inheritance graph
[legend]

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. More...
 
value_ref_type value () const
 
indice_type row_i () const
 returns col_j() of the underlying COO element More...
 
indice_type col_j () const
 returns row_i() of the underlying COO element More...
 

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 95 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
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

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 111 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
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 122 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 127 of file AbstractLinAlgPack_TransSparseCOOElementViewIter.hpp.


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