Function invert_permutation_vector

Source
pub fn invert_permutation_vector<S: Data<Elem = usize>>(
    perm: &ArrayBase<S, Ix1>,
) -> Array1<usize>
Expand description

Compute the inverse of a permutation vector. If a[i] = j then the inverse vector has inv[j] = i