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

◆ sort_channels()

void MayaFlux::Kinesis::Discrete::sort_channels ( std::vector< std::span< double > > &  channels,
SortingDirection  direction,
SortingAlgorithm  algorithm = SortingAlgorithm::STANDARD 
)

Sort all channels in-place.

Parameters
channelsVector of mutable spans, one per channel
directionSort direction
algorithmAlgorithm to use

Definition at line 19 of file Sort.cpp.

20{
21 for (auto& ch : channels)
22 sort_span(ch, direction, algorithm);
23}
void sort_span(std::span< double > data, SortingDirection direction, SortingAlgorithm algorithm)
Sort a single span in-place.
Definition Sort.cpp:5

References sort_span().

Referenced by MayaFlux::Yantra::sort_compute_data_extract(), MayaFlux::Yantra::sort_compute_data_extract(), and MayaFlux::Yantra::sort_compute_data_inplace().

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