#include <Tensor.h>
Collaboration diagram for PLearn::TTensorElementIterator< T >:
Public Member Functions | |
TTensorElementIterator () | |
TTensorElementIterator (TTensor< T > *tensor_, const IVec &pos) | |
TTensorElementIterator< T > & | operator++ () |
T * | operator-> () const |
T & | operator * () const |
bool | operator== (const TTensorElementIterator &other) |
bool | operator!= (const TTensorElementIterator &other) |
IVec | position () const |
bool | end () const |
Private Attributes | |
TTensor< T > * | tensor |
IVec | position_ |
IVec | stride_minus_width |
T * | ptr |
bool | end_met |
|
Definition at line 72 of file Tensor.h. References PLearn::TTensorElementIterator< T >::end_met, PLearn::TTensorElementIterator< T >::ptr, and PLearn::TTensorElementIterator< T >::tensor. |
|
|
Definition at line 102 of file Tensor.h. References PLearn::TTensorElementIterator< T >::end_met. |
|
Definition at line 91 of file Tensor.h. References PLearn::TTensorElementIterator< T >::ptr. |
|
Definition at line 97 of file Tensor.h. References PLearn::TTensorElementIterator< T >::ptr. |
|
|
Definition at line 88 of file Tensor.h. References PLearn::TTensorElementIterator< T >::ptr. |
|
Definition at line 94 of file Tensor.h. References PLearn::TTensorElementIterator< T >::ptr. |
|
Definition at line 100 of file Tensor.h. References PLearn::TTensorElementIterator< T >::position_. |
|
Definition at line 68 of file Tensor.h. Referenced by PLearn::TTensorElementIterator< T >::end(), PLearn::TTensorElementIterator< T >::operator++(), and PLearn::TTensorElementIterator< T >::TTensorElementIterator(). |
|
Definition at line 62 of file Tensor.h. Referenced by PLearn::TTensorElementIterator< T >::operator++(), PLearn::TTensorElementIterator< T >::position(), and PLearn::TTensorElementIterator< T >::TTensorElementIterator(). |
|
|
Definition at line 65 of file Tensor.h. Referenced by PLearn::TTensorElementIterator< T >::operator++(), and PLearn::TTensorElementIterator< T >::TTensorElementIterator(). |
|
Definition at line 61 of file Tensor.h. Referenced by PLearn::TTensorElementIterator< T >::operator++(), and PLearn::TTensorElementIterator< T >::TTensorElementIterator(). |