template<typename T>
class hermes::Index2Iterator< T >
- Template Parameters
-
◆ Index2Iterator() [1/2]
◆ Index2Iterator() [2/2]
Construct a new Index2Iterator object.
- Parameters
-
lower | - lower bound |
upper | - upper bound |
start | - starting coordinate |
◆ flatIndex()
Computes a flat index based on size.
\f(j * (upper - lower)_i + i\f)
- Returns
◆ operator!=()
are different? operator
- Parameters
-
- Returns
- bool true if current indices are different
◆ operator*()
- Returns
- const Index2<T>& current index coordinate
◆ operator++()
◆ operator==()
are equal? operator
- Parameters
-
- Returns
- bool true if current indices are equal
The documentation for this class was generated from the following file: