invert_perm

Function invert_perm 

Source
pub fn invert_perm(perm: &[usize]) -> Vec<usize>
Expand description

Invert a permutation: if perm[i] = j, then result[j] = i.