Go to the documentation of this file.
9 #ifndef EAGINE_SORTING_NETWORK_IO_HPP
10 #define EAGINE_SORTING_NETWORK_IO_HPP
18 template <
typename SortingNetwork>
19 static inline std::ostream&
20 print_sorting_network(std::ostream& out,
const SortingNetwork& sn) {
41 if((i < k) && (k <= j)) {
48 if((i < k) && (k <= j)) {
58 for(auto k : integer_range(1, sn.size())) {
68 #endif // EAGINE_SORTING_NETWORK_IO_HPP
std::ptrdiff_t span_size_t
Signed span size type used by eagine.
Definition: types.hpp:36
Common code is placed in this namespace.
Definition: eagine.hpp:21
integer_range(B, E) -> integer_range< std::common_type_t< B, E >>
Deduction guide for integer_range.