1 #include "cheetah/data/SeriesSlice.h" 8 template <
typename SeriesType>
10 : _start_it(
std::move(start_it))
11 , _end_it(
std::move(end_it))
15 template <
typename SeriesType>
20 template <
typename SeriesType>
26 template <
typename SeriesType>
32 template <
typename SeriesType>
38 template <
typename SeriesType>
44 template <
typename SeriesType>
50 template <
typename SeriesType>
56 template <
typename SeriesType>
59 return *(_start_it + n);
62 template <
typename SeriesType>
65 return *(_start_it + n);
68 template <
typename SeriesType>
71 return std::distance(_start_it,_end_it);
74 template <
typename SeriesType>
77 return &(*(_start_it));
80 template <
typename SeriesType>
83 return &(*(_start_it));
SeriesSlice(Iterator start_it, Iterator end_it)
Construct a new instance.
Reference operator[](std::size_t n)
Return a reference to the nth element of the slice.
Iterator end()
Return an iterator pointing to the end of the slice.
std::size_t size() const
Return the number of elements in the slice.
Iterator begin()
Return an iterator pointing to the start of the slice.
Some limits and constants for FLDO.
A view into a series-like container.
Pointer data()
Return a pointer to the first element of the slice.