Function indxvec::merge::partition_indexed
source · [−]pub fn partition_indexed<T>(v: &[T], pivot: T) -> (Vec<usize>, Vec<usize>) where
T: PartialOrd + Copy,
Expand description
Partition by pivot gives two sets of indices. Items that are equal to pivot are ignored.