|
| | MultiIndex () |
| | MultiIndex (const Position< D, int > &ur) |
| | MultiIndex (const Position< D, int > &lower_left, const Position< D, int > &upper_right) |
| MultiIndex & | operator++ () |
| MultiIndex | operator++ (int) |
| Position< D, int > | get_lower_left () const |
| Position< D, int > | get_upper_right () const |
| Position< D, int > | operator+ (const Position< D, OT > &other) const |
| Position< D, int > | operator- (const Position< D, OT > &other) const |
| Position< D, int > | operator* (const Position< D, OT > &other) const |
| Position< D, int > | operator/ (const Position< D, OT > &other) const |
| Position< D, int > & | operator+= (const Position< D, OT > &other) |
| Position< D, int > & | operator-= (const Position< D, OT > &other) |
| Position< D, int > & | operator*= (const Position< D, OT > &other) |
| Position< D, int > & | operator/= (const Position< D, OT > &other) |
| Position & | operator= (const Position &other)=default |
| | Assignment constructor.
|
| int & | operator[] (int i) |
| const std::vector< int > | get_vector () const |
| bool | operator== (const Position &y) const |
| bool | operator!= (const Position &y) const |
| bool | operator< (const Position &y) const |
| bool | operator> (const Position &y) const |
| bool | operator<= (const Position &y) const |
| bool | operator>= (const Position &y) const |
| int | length () const |
| | Length of Position vector.
|
| | operator std::string () const |
| void | print (std::ostream &out, char sep=' ') const |
| | Print position to output stream.
|
template<int D>
class nest::MultiIndex< D >
An index into a multidimensional array.