Expand description
Functions for working with permutations
Functions§
- argsort
- Construct the permutation that sorts
data
. - inverse_
argsort - Construct the permutation that takes
data.sorted()
todata
. - invert
- Given a permutation, construct its inverse.