algebramix_doc 0.3
matrix_iterator_rep< C, V > Class Template Reference

#include <matrix.hpp>

List of all members.

Public Types

Public Member Functions

Protected Member Functions


Detailed Description

template<typename C, typename V = typename matrix_variant_helper< C >::MV>
class mmx::matrix_iterator_rep< C, V >

Definition at line 310 of file matrix.hpp.


Member Typedef Documentation

typedef implementation<matrix_linear,V> Mat

Definition at line 312 of file matrix.hpp.


Constructor & Destructor Documentation

matrix_iterator_rep ( const matrix< C, V > &  m2,
nat  c = Mat::def_cols 
) [inline]

Definition at line 323 of file matrix.hpp.

                                                             :
    iterator_rep<C> (CF(m)), m(m2), i(0), j(0), nc(c) {}

Member Function Documentation

void advance ( ) [inline, protected]

Definition at line 320 of file matrix.hpp.

References mmx::cols().

{ j++; if (j >= cols(m)) { j=0; i++; } }
C current ( ) [inline, protected]

Definition at line 321 of file matrix.hpp.

{return m (i, j); }
bool is_busy ( ) [inline, protected]

Definition at line 319 of file matrix.hpp.

References mmx::rows().

{ return i < rows(m); }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines