ViennaCL - The Vienna Computing Library  1.5.2
Public Types | Public Member Functions
matrix_iterator< ROWCOL, MATRIXTYPE > Class Template Reference

uBLAS-like iterator class for iterating over the entries of a dense matrix. More...

#include <matrix.hpp>

Public Types

typedef MATRIXTYPE::value_type value_type

Public Member Functions

 matrix_iterator (MATRIXTYPE &mat, vcl_size_t start_row, vcl_size_t start_col)
value_type operator* (void)
self_typeoperator++ (void)
self_type operator++ (int)
bool operator== (self_type const &other)
bool operator!= (self_type const &other)
vcl_size_t index1 ()
vcl_size_t index2 ()
MATRIXTYPE & operator() (void) const

Detailed Description

template<typename ROWCOL, typename MATRIXTYPE>
class viennacl::matrix_iterator< ROWCOL, MATRIXTYPE >

uBLAS-like iterator class for iterating over the entries of a dense matrix.


Member Typedef Documentation

typedef MATRIXTYPE::value_type value_type

Constructor & Destructor Documentation

matrix_iterator ( MATRIXTYPE &  mat,
vcl_size_t  start_row,
vcl_size_t  start_col 
) [inline]

Member Function Documentation

vcl_size_t index1 ( ) [inline]
vcl_size_t index2 ( ) [inline]
bool operator!= ( self_type const &  other) [inline]
MATRIXTYPE& operator() ( void  ) const [inline]
value_type operator* ( void  ) [inline]
self_type& operator++ ( void  ) [inline]
self_type operator++ ( int  ) [inline]
bool operator== ( self_type const &  other) [inline]

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