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 322 of file matrix.hpp.


Member Typedef Documentation

typedef implementation<matrix_linear,V> Mat

Definition at line 324 of file matrix.hpp.


Constructor & Destructor Documentation

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

Definition at line 335 of file matrix.hpp.

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


Member Function Documentation

void advance (  )  [inline, protected]

Definition at line 332 of file matrix.hpp.

References mmx::cols().

00332 { j++; if (j >= cols(m)) { j=0; i++; } }

C current (  )  [inline, protected]

Definition at line 333 of file matrix.hpp.

00333 {return m (i, j); }

bool is_busy (  )  [inline, protected]

Definition at line 331 of file matrix.hpp.

References mmx::rows().

00331 { return i < rows(m); }


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

Generated on 6 Dec 2012 for algebramix by  doxygen 1.6.1