#include <TMatRowsIterator_decl.h>
Collaboration diagram for PLearn::TMatRowsIterator< T >:

Public Types | |
| typedef random_access_iterator_tag | iterator_category |
| Some useful typedefs. | |
| typedef TVec< T > | value_type |
| typedef ptrdiff_t | difference_type |
| typedef TVec< T > * | pointer |
| typedef TVec< T > & | reference |
Public Member Functions | |
| TMatRowsIterator () | |
| TMatRowsIterator (T *p, int w, int m) | |
| bool | operator== (const TMatRowsIterator &other) const |
| bool | operator!= (const TMatRowsIterator &y) |
| value_type | operator * () |
| TMatRowsIterator & | operator++ () |
| TMatRowsIterator | operator++ (int) |
| TMatRowsIterator & | operator-- () |
| TMatRowsIterator | operator-- (int) |
| TMatRowsIterator & | operator+= (difference_type n) |
| TMatRowsIterator | operator+ (difference_type n) |
| TMatRowsIterator & | operator-= (difference_type n) |
| TMatRowsIterator | operator- (difference_type n) |
| difference_type | operator- (const TMatRowsIterator &y) |
| value_type | operator[] (difference_type n) |
| bool | operator< (const TMatRowsIterator &y) |
Private Attributes | |
| T * | ptr |
| current row pointer | |
| int | width |
| vector width | |
| int | mod |
| mod in underlying matrix | |
The basic idea is that operator* returns the current row as a TVec.
Definition at line 58 of file TMatRowsIterator_decl.h.
|
|||||
|
Definition at line 64 of file TMatRowsIterator_decl.h. Referenced by PLearn::TMatRowsIterator< T >::operator-(). |
|
|||||
|
Some useful typedefs.
Definition at line 62 of file TMatRowsIterator_decl.h. |
|
|||||
|
Definition at line 65 of file TMatRowsIterator_decl.h. |
|
|||||
|
Definition at line 66 of file TMatRowsIterator_decl.h. |
|
|||||
|
Definition at line 63 of file TMatRowsIterator_decl.h. |
|
|||||||||
|
Definition at line 74 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, PLearn::TMatRowsIterator< T >::ptr, and PLearn::TMatRowsIterator< T >::width. |
|
||||||||||||||||||||
|
Definition at line 77 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, PLearn::TMatRowsIterator< T >::ptr, and PLearn::TMatRowsIterator< T >::width. |
|
|||||||||
|
Definition at line 88 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::ptr, and PLearn::TMatRowsIterator< T >::width. |
|
||||||||||
|
Definition at line 85 of file TMatRowsIterator_decl.h. References PLearn::operator==(). |
|
||||||||||
|
Definition at line 125 of file TMatRowsIterator_decl.h. |
|
||||||||||
|
Definition at line 101 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, and PLearn::TMatRowsIterator< T >::ptr. |
|
|||||||||
|
Definition at line 96 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, and PLearn::TMatRowsIterator< T >::ptr. |
|
||||||||||
|
Definition at line 120 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, and PLearn::TMatRowsIterator< T >::ptr. |
|
||||||||||
|
Definition at line 142 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::difference_type, PLearn::TMatRowsIterator< T >::mod, and PLearn::TMatRowsIterator< T >::ptr. |
|
||||||||||
|
Definition at line 136 of file TMatRowsIterator_decl.h. |
|
||||||||||
|
Definition at line 113 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, and PLearn::TMatRowsIterator< T >::ptr. |
|
|||||||||
|
Definition at line 108 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, and PLearn::TMatRowsIterator< T >::ptr. |
|
||||||||||
|
Definition at line 131 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, and PLearn::TMatRowsIterator< T >::ptr. |
|
||||||||||
|
Definition at line 150 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::ptr. |
|
||||||||||
|
Definition at line 81 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, PLearn::TMatRowsIterator< T >::ptr, and PLearn::TMatRowsIterator< T >::width. |
|
||||||||||
|
Definition at line 146 of file TMatRowsIterator_decl.h. References PLearn::TMatRowsIterator< T >::mod, PLearn::TMatRowsIterator< T >::operator[](), PLearn::TMatRowsIterator< T >::ptr, and PLearn::TMatRowsIterator< T >::width. Referenced by PLearn::TMatRowsIterator< T >::operator[](). |
|
|||||
|
|||||
|
|||||
|
vector width
Definition at line 70 of file TMatRowsIterator_decl.h. Referenced by PLearn::TMatRowsIterator< T >::operator *(), PLearn::TMatRowsIterator< T >::operator==(), PLearn::TMatRowsIterator< T >::operator[](), and PLearn::TMatRowsIterator< T >::TMatRowsIterator(). |
1.3.7