381 inline Index(
int f,
int l);
382 inline Index(
int f,
int l,
int s);
387 inline int min()
const;
388 inline int max()
const;
389 inline unsigned int length()
const;
390 inline int stride()
const;
391 inline int first()
const;
392 inline int last()
const;
393 inline bool empty()
const;
464 *
this =
Index(d[0], d[0] + (d[2] - 1)*d[1], d[1]);
std::ostream & operator<<(std::ostream &out, const Index &I)
std::string::iterator iterator
bool split(Index &l, Index &r) const
friend Index operator+(const Index &, int)
Message & putMessage(Message &m) const
Index intersect(const Index &) const
Message & getMessage(Message &m)
bool operator<(const Index &r) const
cursor MakeExpression() const
friend Index operator/(const Index &, int)
bool containsAllPoints(const Index &b) const
Index plugBase(const Index &) const
friend Index operator-(const Index &, int)
bool contains(const Index &a) const
bool touches(const Index &a) const
bool operator==(const Index &r) const
friend Index operator*(const Index &, int)
static void findPut(const Index &, const Index &, const Index &, Index &, Index &)
bool sameBase(const Index &) const
unsigned int length() const
Index general_intersect(const Index &) const
iterator & operator-=(int i)
bool operator>(const iterator &y) const
iterator & operator+=(int i)
bool operator<=(const iterator &y) const
bool operator>=(const iterator &y) const
int operator[](int i) const
bool operator==(const iterator &y) const
iterator operator+(int i) const
bool operator!=(const iterator &y) const
iterator operator-(int i) const
iterator(int current, int stride=1)
bool operator<(const iterator &y) const
bool plugBase(const Index &i, unsigned d=0)
int offset(int i, int j) const
cursor MakeExpression() const
int offset(int i, int j, int k) const
Message & put(const T &val)
Message & get(const T &cval)