16 #ifndef dealii_vector_slice_h 17 #define dealii_vector_slice_h 19 #include <deal.II/base/config.h> 21 #include <deal.II/base/array_view.h> 22 #include <deal.II/base/exceptions.h> 24 DEAL_II_NAMESPACE_OPEN
49 template <
typename VectorType>
89 typename VectorType::reference
operator[](
unsigned int i);
95 typename VectorType::const_reference
operator[](
unsigned int i)
const;
100 typename VectorType::iterator
106 typename VectorType::const_iterator
112 typename VectorType::iterator
118 typename VectorType::const_iterator
144 template <
typename VectorType>
161 template <
typename VectorType>
173 template <
typename VectorType>
181 template <
typename VectorType>
189 Assert((start + length <= v.size()),
194 template <
typename VectorType>
202 template <
typename VectorType>
209 template <
typename VectorType>
217 template <
typename VectorType>
227 template <
typename VectorType>
237 template <
typename VectorType>
238 inline typename VectorType::const_iterator
245 template <
typename VectorType>
246 inline typename VectorType::iterator
253 template <
typename VectorType>
254 inline typename VectorType::const_iterator
261 template <
typename VectorType>
262 inline typename VectorType::iterator
268 DEAL_II_NAMESPACE_CLOSE
VectorType::iterator begin()
static::ExceptionBase & ExcIndexRange(int arg1, int arg2, int arg3)
const VectorSlice< const VectorType > make_slice(VectorType &v)
#define Assert(cond, exc)
VectorType::reference operator[](unsigned int i)
unsigned int size() const
VectorType::iterator end()
const unsigned int length
VectorSlice(VectorType &v)
const VectorSlice< const VectorType > make_slice(VectorType &v, const unsigned int start, const unsigned int length)