MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ sort_channels_inplace()

void MayaFlux::Yantra::sort_channels_inplace ( std::vector< std::span< double > > &  channels,
SortingDirection  direction,
SortingAlgorithm  algorithm 
)

Sort multiple channels (spans) in-place.

Parameters
channelsVector of spans, each representing a channel
directionSort direction
algorithmSort algorithm

Definition at line 30 of file SortingHelper.cpp.

33{
34 for (auto& channel : channels) {
35 sort_span_inplace(channel, direction, algorithm);
36 }
37}
void sort_span_inplace(std::span< double > data, SortingDirection direction, SortingAlgorithm algorithm)
Sort a single span of doubles in-place.

References sort_span_inplace().

Referenced by MayaFlux::Yantra::StandardSorter< InputType, OutputType >::convert_and_sort(), sort_compute_data_extract(), sort_compute_data_extract(), sort_compute_data_inplace(), and MayaFlux::Yantra::StandardSorter< InputType, OutputType >::sort_copy().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: