|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
|
nodiscard |
Target position of each rank in a mountain arrangement of count values.
Ranks alternate between the two ends and fill inward, so an ascending sequence laid out by these positions rises from the first position to the centre and falls to the last: rank 0 goes to position 0, rank 1 to the last position, rank 2 to position 1, and so on. BIDIRECTIONAL sorting applies it.
| count | Number of values |
Definition at line 22 of file Sort.cpp.
References count().
Referenced by MayaFlux::Yantra::BitonicSorter< OutputType >::order(), sort_span(), and span_sort_indices().