Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::TTensorSubTensorIterator< T > Class Template Reference

#include <Tensor.h>

Collaboration diagram for PLearn::TTensorSubTensorIterator< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TTensorSubTensorIterator (TTensor< T > *tensor_, const IVec &dim)
 TTensorSubTensorIterator ()
IVec position () const
TTensorSubTensorIterator<
T > & 
operator++ ()
TTensor< T > operator * () const
bool end () const

Private Attributes

TTensor< T > * tensor
IVec position_
IVec dimensions_
bool end_met

template<class T>
class PLearn::TTensorSubTensorIterator< T >


Constructor & Destructor Documentation

template<class T>
PLearn::TTensorSubTensorIterator< T >::TTensorSubTensorIterator TTensor< T > *  tensor_,
const IVec dim
[inline]
 

Definition at line 126 of file Tensor.h.

References PLearn::TTensorSubTensorIterator< T >::dimensions_, PLearn::TTensorSubTensorIterator< T >::end_met, PLearn::IVec, PLearn::TTensorSubTensorIterator< T >::position_, and PLearn::TTensorSubTensorIterator< T >::tensor.

template<class T>
PLearn::TTensorSubTensorIterator< T >::TTensorSubTensorIterator  )  [inline]
 


Member Function Documentation

template<class T>
bool PLearn::TTensorSubTensorIterator< T >::end  )  const [inline]
 

Definition at line 161 of file Tensor.h.

References PLearn::TTensorSubTensorIterator< T >::end_met.

template<class T>
TTensor<T> PLearn::TTensorSubTensorIterator< T >::operator *  )  const [inline]
 

Definition at line 142 of file Tensor.h.

References PLearn::TTensorSubTensorIterator< T >::position_, and PLearn::TTensorSubTensorIterator< T >::tensor.

template<class T>
TTensorSubTensorIterator< T > & PLearn::TTensorSubTensorIterator< T >::operator++  )  [inline]
 

Definition at line 440 of file Tensor.h.

References PLearn::TTensorSubTensorIterator< T >::end_met, PLearn::TTensorSubTensorIterator< T >::position_, and PLearn::TTensorSubTensorIterator< T >::tensor.

template<class T>
IVec PLearn::TTensorSubTensorIterator< T >::position  )  const [inline]
 

Definition at line 138 of file Tensor.h.

References PLearn::TTensorSubTensorIterator< T >::position_.


Member Data Documentation

template<class T>
IVec PLearn::TTensorSubTensorIterator< T >::dimensions_ [private]
 

Definition at line 120 of file Tensor.h.

Referenced by PLearn::TTensorSubTensorIterator< T >::TTensorSubTensorIterator().

template<class T>
bool PLearn::TTensorSubTensorIterator< T >::end_met [private]
 

Definition at line 122 of file Tensor.h.

Referenced by PLearn::TTensorSubTensorIterator< T >::end(), PLearn::TTensorSubTensorIterator< T >::operator++(), and PLearn::TTensorSubTensorIterator< T >::TTensorSubTensorIterator().

template<class T>
IVec PLearn::TTensorSubTensorIterator< T >::position_ [private]
 

Definition at line 119 of file Tensor.h.

Referenced by PLearn::TTensorSubTensorIterator< T >::operator *(), PLearn::TTensorSubTensorIterator< T >::operator++(), PLearn::TTensorSubTensorIterator< T >::position(), and PLearn::TTensorSubTensorIterator< T >::TTensorSubTensorIterator().

template<class T>
TTensor<T>* PLearn::TTensorSubTensorIterator< T >::tensor [private]
 

Definition at line 118 of file Tensor.h.

Referenced by PLearn::TTensorSubTensorIterator< T >::operator *(), PLearn::TTensorSubTensorIterator< T >::operator++(), and PLearn::TTensorSubTensorIterator< T >::TTensorSubTensorIterator().


The documentation for this class was generated from the following file:
Generated on Tue Aug 17 16:24:03 2004 for PLearn by doxygen 1.3.7