|
MADNESS
version 0.9
|
#include <indexit.h>


Public Member Functions | |
| template<typename V > | |
| HighDimIndexIterator (const V &limits) | |
| Iterates dimension d from 0 to limts[d]-1 inclusive. More... | |
| HighDimIndexIterator (int ndim, const long limits[]) | |
| Iterates dimension d from 0 to limts[d]-1 inclusive. More... | |
| HighDimIndexIterator (int ndim, long top) | |
| Iterates all dimensions from 0 to top-1 inclusive. More... | |
| virtual | ~HighDimIndexIterator () |
| virtual IndexIterator & | operator++ () |
Public Member Functions inherited from madness::IndexIterator | |
| template<typename V > | |
| IndexIterator (const V &limits) | |
| Iterates dimension d from 0 to limts[d]-1 inclusive. More... | |
| IndexIterator (int ndim, const long limits[]) | |
| Iterates dimension d from 0 to limts[d]-1 inclusive. More... | |
| IndexIterator (int ndim, long top) | |
| Iterates all dimensions from 0 to top-1 inclusive. More... | |
| virtual | ~IndexIterator () |
| IndexIterator & | reset () |
| long | operator[] (int d) const |
| const std::vector< long > & | operator* () const |
| operator bool () const | |
Additional Inherited Members | |
Static Public Member Functions inherited from madness::IndexIterator | |
| static void | test () |
| this function should also be deprecated More... | |
Protected Attributes inherited from madness::IndexIterator | |
| std::vector< long > | n |
| User specified upper limits for each dimension. More... | |
| std::vector< long > | i |
| Current index. More... | |
| bool | finished |
The inherited IndexIterator for iterating over the high dimensions quickly and the low dimensions slowly (all elements of dimension 0 at index i will be visited before any element of index i+1 in dim. 0).
This is equivalent to the original implementation of IndexIterator.
|
inline |
Iterates dimension d from 0 to limts[d]-1 inclusive.
|
inline |
Iterates dimension d from 0 to limts[d]-1 inclusive.
|
inline |
Iterates all dimensions from 0 to top-1 inclusive.
|
inlinevirtual |
|
inlinevirtual |
increment the highest dimension first and check for overflows up through dimension 0
Reimplemented from madness::IndexIterator.
References madness::IndexIterator::finished, madness::IndexIterator::i, and madness::IndexIterator::n.
1.8.8