#include <MomentIterator.H>

MomentIterator iterates through the multi-indices of a IndexedMoments.
Public Member Functions | |
| MomentIterator () | |
| virtual | ~MomentIterator () |
| virtual void | reset () |
| virtual void | operator++ () |
| virtual const IndexTM< int, D > & | operator() () const |
| virtual bool | ok () |
| virtual int | size () const |
Protected Attributes | |
| const Vector< IndexTM< int, D > > * | m_indicies |
| points to the (static) powers that live in IndexedMoments | |
| int | m_current |
| MomentIterator< D, P >::MomentIterator | ( | ) | [inline] |
| virtual MomentIterator< D, P >::~MomentIterator | ( | ) | [inline, virtual] |
| virtual void MomentIterator< D, P >::reset | ( | ) | [inline, virtual] |
Implements BaseMomentIterator< D >.
References MomentIterator< D, P >::m_current.
Referenced by checkMoments().
| virtual void MomentIterator< D, P >::operator++ | ( | ) | [inline, virtual] |
| virtual const IndexTM<int, D>& MomentIterator< D, P >::operator() | ( | ) | const [inline, virtual] |
Returns the moment of the current multi-index of this MomentIterator.
Implements BaseMomentIterator< D >.
References MomentIterator< D, P >::m_current, and MomentIterator< D, P >::m_indicies.
| virtual bool MomentIterator< D, P >::ok | ( | ) | [inline, virtual] |
Returns true if this MomentIterator's location is within its IndexedMoment.
Implements BaseMomentIterator< D >.
References MomentIterator< D, P >::m_current, MomentIterator< D, P >::m_indicies, and Vector< T >::size().
Referenced by checkMoments().
| virtual int MomentIterator< D, P >::size | ( | ) | const [inline, virtual] |
Implements BaseMomentIterator< D >.
References MomentIterator< D, P >::m_indicies, and Vector< T >::size().
const Vector<IndexTM<int,D> >* MomentIterator< D, P >::m_indicies [protected] |
points to the (static) powers that live in IndexedMoments
Referenced by MomentIterator< D, P >::MomentIterator(), MomentIterator< D, P >::ok(), MomentIterator< D, P >::operator()(), and MomentIterator< D, P >::size().
int MomentIterator< D, P >::m_current [protected] |
1.5.5