MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
SortingHelper.cpp File Reference
#include "SortingHelper.hpp"
+ Include dependency graph for SortingHelper.cpp:

Go to the source code of this file.

Namespaces

namespace  MayaFlux
 Main namespace for the Maya Flux audio engine.
 
namespace  MayaFlux::Yantra
 

Functions

void MayaFlux::Yantra::sort_span_inplace (std::span< double > data, SortingDirection direction, SortingAlgorithm algorithm)
 Sort a single span of doubles in-place.
 
std::span< double > MayaFlux::Yantra::sort_span_extract (std::span< const double > data, std::vector< double > &output_storage, SortingDirection direction, SortingAlgorithm algorithm)
 Sort a single span and return copy in output vector.
 
void MayaFlux::Yantra::sort_channels_inplace (std::vector< std::span< double > > &channels, SortingDirection direction, SortingAlgorithm algorithm)
 Sort multiple channels (spans) in-place.
 
std::vector< std::span< double > > MayaFlux::Yantra::sort_channels_extract (const std::vector< std::span< const double > > &channels, std::vector< std::vector< double > > &output_storage, SortingDirection direction, SortingAlgorithm algorithm)
 Sort multiple channels and return copies.
 
std::vector< size_t > MayaFlux::Yantra::generate_span_sort_indices (std::span< double > data, SortingDirection direction)
 Generate sort indices for a single span.
 
std::vector< std::vector< size_t > > MayaFlux::Yantra::generate_channels_sort_indices (const std::vector< std::span< double > > &channels, SortingDirection direction)
 Generate sort indices for multiple channels.