54 void assign(
size_t n,
size_t j[]);
84 Index range(
const size_t start,
const size_t stop);
const size_t & operator[](size_t i) const
Definition: index.hpp:77
bool operator==(const Index &) const
Definition: index.cc:53
void resize(size_t n)
Definition: index.hpp:81
std::vector< size_t > index_t
Definition: index.hpp:41
void assign(size_t n, size_t j[])
Definition: index.cc:37
void push(size_t i)
Definition: index.hpp:80
Index inverse()
Definition: index.cc:44
Index & operator+=(const Index &)
Definition: index.cc:61
void sort()
Definition: index.cc:42
size_t size() const
Definition: index.hpp:79
Index()
Definition: index.hpp:72
Definition: complex.hpp:34
Index range(const size_t start, const size_t stop)
Create an increasing sequence. it is similar to range() in python.
Definition: index.cc:91
std::ostream & operator<<(std::ostream &os, const Index &idx)
Index operator+(const Index &, const Index &)