11 #ifndef CUBBYFLOW_SERIAL_HPP 12 #define CUBBYFLOW_SERIAL_HPP 29 template <
typename RandomIterator,
typename T>
30 void SerialFill(
const RandomIterator& begin,
const RandomIterator& end,
46 template <
typename IndexType,
typename Function>
47 void SerialFor(IndexType beginIndex, IndexType endIndex,
48 const Function&
function);
66 template <
typename IndexType,
typename Function>
67 void SerialFor(IndexType beginIndexX, IndexType endIndexX,
68 IndexType beginIndexY, IndexType endIndexY,
69 const Function&
function);
89 template <
typename IndexType,
typename Function>
90 void SerialFor(IndexType beginIndexX, IndexType endIndexX,
91 IndexType beginIndexY, IndexType endIndexY,
92 IndexType beginIndexZ, IndexType endIndexZ,
93 const Function&
function);
105 template <
typename RandomIterator>
106 void SerialSort(RandomIterator begin, RandomIterator end);
122 template <
typename RandomIterator,
typename SortingFunction>
123 void SerialSort(RandomIterator begin, RandomIterator end,
124 const SortingFunction& sortingFunction);
void SerialFill(const RandomIterator &begin, const RandomIterator &end, const T &value)
Fills from begin to end with value.
Definition: Serial-Impl.hpp:20
void SerialFor(IndexType beginIndex, IndexType endIndex, const Function &function)
Makes a for-loop from beginIndex to endIndex.
Definition: Serial-Impl.hpp:30
Definition: pybind11Utils.hpp:20
void SerialSort(RandomIterator begin, RandomIterator end)
Sorts a container.
Definition: Serial-Impl.hpp:72