33 #ifndef __H__UG__CPU_ALGEBRA__MATRIXROW__
34 #define __H__UG__CPU_ALGEBRA__MATRIXROW__
63 template<
typename TMatrix>
69 typedef typename TMatrix::row_iterator
iterator;
77 return A.begin_row(
r);
85 return A.begin_row(
r);
103 return A.has_connection(
r, c);
112 return A.num_connections(
r);
116 template<
typename TMatrix>
129 return A.begin_row(
r);
146 return A.has_connection(
r, c);
151 return A.num_connections(
r);
Definition: matrixrow.h:118
value_type & operator()(size_t c)
Definition: matrixrow.h:140
size_t r
Definition: matrixrow.h:120
TMatrix::const_row_iterator const_iterator
Definition: matrixrow.h:122
const value_type & operator()(size_t c) const
Definition: matrixrow.h:136
const_iterator begin() const
Definition: matrixrow.h:127
const_iterator end() const
Definition: matrixrow.h:131
size_t num_connections() const
Definition: matrixrow.h:149
size_t size() const
Definition: matrixrow.h:153
TMatrix::value_type value_type
Definition: matrixrow.h:123
ConstMatrixRow(const TMatrix &_A, size_t _r)
Definition: matrixrow.h:124
const TMatrix & A
Definition: matrixrow.h:119
bool has_connection(size_t c) const
Definition: matrixrow.h:144
Definition: matrixrow.h:65
TMatrix::const_row_iterator const_iterator
Definition: matrixrow.h:70
iterator end() const
Definition: matrixrow.h:87
size_t num_connections() const
Definition: matrixrow.h:110
iterator begin() const
Definition: matrixrow.h:83
TMatrix::row_iterator iterator
Definition: matrixrow.h:69
TMatrix & A
Definition: matrixrow.h:66
size_t size() const
Definition: matrixrow.h:106
value_type & operator()(size_t c)
Definition: matrixrow.h:92
bool has_connection(size_t c) const
Definition: matrixrow.h:101
MatrixRow(TMatrix &_A, size_t _r)
Definition: matrixrow.h:72
iterator begin()
Definition: matrixrow.h:75
iterator end()
Definition: matrixrow.h:79
value_type & operator()(size_t c) const
Definition: matrixrow.h:97
size_t r
Definition: matrixrow.h:67
TMatrix::value_type value_type
Definition: matrixrow.h:71
T value_type
Definition: sparsematrix_interface.h:2