42 #ifndef SLAP_MATRIX_COOR_TMPL_ITFC_H
43 #define SLAP_MATRIX_COOR_TMPL_ITFC_H
50 namespace AbstractLinAlgPack {
52 template<
class T_Scalar,
class T_Index>
55 template<
class T_Scalar,
class T_Index>
61 template<
class T_Scalar,
class T_Index>
73 ,
const T_Scalar *values,
const T_Index* row_i,
const T_Index* col_j
105 template<
class T_Scalar,
class T_Index>
132 template<
class T_Scalar,
class T_Index>
136 :
ele_(value,row_i,col_j)
158 nz_left_ <= 0, std::logic_error
159 ,
"MatrixCOORTmplItfcItr<>::assert_nz: Error, trying to access past storage!" );
173 template<
class T_Scalar,
class T_Index>
175 typename MatrixCOORTmplItfc<T_Scalar,T_Index>::const_iterator
181 template<
class T_Scalar,
class T_Index>
191 #endif // SLAP_MATRIX_COOR_TMPL_ITFC_H
MatrixCOORTmplItfcItr(const T_Scalar *value, const T_Index *row_i, const T_Index *col_j, T_Index nz)
const_iterator end() const
MatrixCOORTmplItfcItr< T_Scalar, T_Index > const_iterator
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
MatrixCOORTmplItfcItrEleView(const T_Scalar *value, const T_Index *row_i, const T_Index *col_j)
difference_type col_offset_
MatrixCOORTmplItfcItrEleView()
Templated class that supports the COOMatrixTemplateInterface template interface.
const_iterator begin() const
MatrixCOORTmplItfc(size_type rows, size_type cols, size_type nz, difference_type row_offset, difference_type col_offset, const T_Scalar *values, const T_Index *row_i, const T_Index *col_j)
const MatrixCOORTmplItfcItrEleView< T_Scalar, T_Index > * operator->() const
bool operator!=(const MatrixCOORTmplItfcItrEleView< T_Scalar, T_Index > &ele) const
Templated class for objects that support the SparseCOOElementTemplatInterface specification.
bool operator!=(const MatrixCOORTmplItfcItr< T_Scalar, T_Index > &itr) const
difference_type row_offset() const
MatrixCOORTmplItfcItrEleView< T_Scalar, T_Index > element_type
MatrixCOORTmplItfcItrEleView< T_Scalar, T_Index > ele_
difference_type row_offset_
difference_type col_offset() const
Templated class for iterator returning objects that support the SparseCOOElementTemplatInterface spec...
ptrdiff_t difference_type