1 #ifndef _theplu_yat_utility_index_ 2 #define _theplu_yat_utility_index_ 60 explicit Index(
size_t n);
70 explicit Index(
const SmartPtr<
const std::vector<size_t> >& vec);
77 explicit Index(
const std::vector<size_t>& vec);
101 size_t size(
void)
const;
106 const std::vector<size_t>&
vector(
void)
const;
const_iterator begin(void) const
const size_t & operator[](size_t) const
access operator
size_t size(void) const
number of elements
The Department of Theoretical Physics namespace as we define it.
const std::vector< size_t > & vector(void) const
const_iterator end(void) const
Class for storing indices of, e.g., a MatrixLookup.
Definition: Index.h:41
Definition: SmartPtr.h:48
std::vector< size_t >::const_iterator const_iterator
Definition: Index.h:49