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 size_t & operator[](size_t) const
access operator
size_t size(void) const
number of elements
Class for storing indices of, e.g., a MatrixLookup.
Definition: Index.h:41
const_iterator end(void) const
const std::vector< size_t > & vector(void) const
Definition: SmartPtr.h:48
const_iterator begin(void) const
std::vector< size_t >::const_iterator const_iterator
Definition: Index.h:49