9 #ifndef CUBBYFLOW_SERIAL_H 10 #define CUBBYFLOW_SERIAL_H 27 template <
typename RandomIterator,
typename T>
28 void SerialFill(
const RandomIterator& begin,
const RandomIterator& end,
const T& value);
43 template <
typename IndexType,
typename Function>
44 void SerialFor(IndexType beginIndex, IndexType endIndex,
const Function&
function);
62 template <
typename IndexType,
typename Function>
64 IndexType beginIndexX, IndexType endIndexX,
65 IndexType beginIndexY, IndexType endIndexY,
66 const Function&
function);
86 template <
typename IndexType,
typename Function>
88 IndexType beginIndexX, IndexType endIndexX,
89 IndexType beginIndexY, IndexType endIndexY,
90 IndexType beginIndexZ, IndexType endIndexZ,
91 const Function&
function);
103 template<
typename RandomIterator>
104 void SerialSort(RandomIterator begin, RandomIterator end);
120 template<
typename RandomIterator,
typename SortingFunction>
121 void SerialSort(RandomIterator begin, RandomIterator end,
122 const SortingFunction& sortingFunction);
void SerialFill(const RandomIterator &begin, const RandomIterator &end, const T &value)
Fills from begin to end with value.
Definition: Serial-Impl.h:17
void SerialFor(IndexType beginIndex, IndexType endIndex, const Function &function)
Makes a for-loop from beginIndex to endIndex.
Definition: Serial-Impl.h:28
Definition: pybind11Utils.h:24
void SerialSort(RandomIterator begin, RandomIterator end)
Sorts a container.
Definition: Serial-Impl.h:71