Skip to main content

bitonic_sort

Function bitonic_sort 

Source
pub fn bitonic_sort(data: &mut Vec<f64>)
Expand description

Bitonic sort of a Vecf64` in ascending order.

Pads the input to the next power-of-2 with f64::MAX, then truncates back to the original length after sorting.