pub fn parallel_rank(data: &[f64]) -> Vec<usize>
Parallel rank: compute the rank of each element (0-based) in sorted order.