Skip to main content

inverse_argsort

Function inverse_argsort 

Source
pub fn inverse_argsort<T>(data: &[T]) -> Vec<usize>
where T: Ord,
Expand description

Construct the permutation that takes data.sorted() to data.