geomc 1.0
A c++ linear algebra template library
Public Types | Public Member Functions | Public Attributes | List of all members
TransposeIterator< T, Const > Struct Template Reference
Inheritance diagram for TransposeIterator< T, Const >:

Public Types

typedef std::conditional< Const, constT *, T * >::type pointer_t
 
typedef std::conditional< Const, constT &, T & >::type ref_t
 

Public Member Functions

 TransposeIterator (pointer_t base, index_t major, index_t minor, index_t i=0)
 
pointer_t offs () const
 
bool equal (const T *other) const
 
template<bool K>
bool equal (const TransposeIterator< T, K > &other) const
 
void increment ()
 
void decrement ()
 
void advance (index_t dx)
 
ref_t dereference () const
 
template<bool K>
index_t distance_to (const TransposeIterator< T, K > &other) const
 

Public Attributes

const pointer_t base
 
const index_t major
 
const index_t minor
 
index_t i
 
pointer_t p
 

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