72 typename std::vector<T>::iterator
begin() {
return _vector.begin(); }
77 typename std::vector<T>::const_iterator
begin()
const {
return _vector.begin(); }
82 typename std::vector<T>::iterator
end() {
return _vector.end(); }
87 typename std::vector<T>::const_iterator
end()
const {
return _vector.end(); }
Class that extends vectors to negative indices.
Definition extendedvector.h:18
std::vector< T >::const_iterator begin() const
Constant begin iterator.
Definition extendedvector.h:77
int max() const
Returns the upper bound.
Definition extendedvector.h:54
void resize(int const &size, T const &value=0, int const &imin=0)
Resizes the continer.
Definition extendedvector.h:67
std::vector< T >::const_iterator end() const
Constant end iterator.
Definition extendedvector.h:87
std::vector< T >::iterator begin()
Non-constant begin iterator.
Definition extendedvector.h:72
int _imin
The lower bound.
Definition extendedvector.h:90
std::vector< T > _vector
The container.
Definition extendedvector.h:91
ExtendedVector(int const &size=0, T const &value=0, int const &imin=0)
The ExtendedVector constructor.
Definition extendedvector.h:26
T & operator[](int const &index)
Returns the value at the possibly negative given index.
Definition extendedvector.h:34
std::vector< T >::iterator end()
Non-constant end iterator.
Definition extendedvector.h:82
size_t size() const
Returns the size of the vector.
Definition extendedvector.h:59
int min() const
Returns the lower bound.
Definition extendedvector.h:48
Namespace for all APFEL++ functions and classes.
Definition alphaqcd.h:14