|
| MultiIndex () |
|
| MultiIndex (const Position< D, int > &ur) |
|
| MultiIndex (const Position< D, int > &ll, const Position< D, int > &ur) |
|
MultiIndex & | operator++ () |
|
MultiIndex | operator++ (int) |
|
Position< D, int > | get_lower_left () const |
|
Position< D, int > | get_upper_right () const |
|
| Position () |
| Default constructor, initializing all coordinates to zero. More...
|
|
| Position (const int &, const int &) |
| 2D Constructor. More...
|
|
| Position (const int &, const int &, const int &) |
| 3D Constructor. More...
|
|
| Position (const int *const y) |
| Constructor initializing a Position from an array. More...
|
|
| Position (const std::vector< int > &y) |
| Constructor initializing a Position from a std::vector. More...
|
|
| Position (const Position &other) |
| Copy constructor. More...
|
|
| Position (const Position< D, U > &other) |
|
| operator std::vector< int > () const |
|
int & | operator[] (int i) |
|
const int & | operator[] (int i) const |
|
Token | getToken () const |
| Moves Position variables into an array. More...
|
|
Position | operator+ (const Position< D, OT > &other) const |
| Elementwise addition. More...
|
|
Position | operator+ (const int &) const |
| Elementwise addition with scalar. More...
|
|
Position | operator- (const Position< D, OT > &other) const |
| Elementwise subtraction. More...
|
|
Position | operator- () const |
| Unary minus. More...
|
|
Position | operator- (const int &) const |
| Elementwise subtraction with scalar. More...
|
|
Position | operator* (const Position< D, OT > &other) const |
| Elementwise multiplication. More...
|
|
Position | operator* (const int &) const |
| Multiplication with scalar. More...
|
|
Position | operator/ (const Position< D, OT > &other) const |
| Elementwise division. More...
|
|
Position | operator/ (const int &) const |
| Division with scalar. More...
|
|
Position & | operator+= (const Position< D, OT > &) |
| In-place elementwise addition. More...
|
|
Position & | operator+= (const int &) |
| In-place elementwise addition with scalar. More...
|
|
Position & | operator-= (const Position< D, OT > &) |
| In-place elementwise subtraction. More...
|
|
Position & | operator-= (const int &) |
| In-place elementwise subtraction with scalar. More...
|
|
Position & | operator*= (const Position< D, OT > &) |
| In-place elementwise multiplication. More...
|
|
Position & | operator*= (const int &) |
| In-place multiplication by scalar. More...
|
|
Position & | operator/= (const Position< D, OT > &) |
| In-place elementwise division. More...
|
|
Position & | operator/= (const int &) |
| In-place elementwise division. More...
|
|
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. More...
|
|
| operator std::string () const |
|
void | print (std::ostream &out, char sep= ' ') const |
| Print position to output stream. More...
|
|
template<int D>
class nest::MultiIndex< D >
An index into a multidimensional array.