Module permutations

Source
Expand description

Functions for working with permutations

Functions§

argsort
Construct the permutation that sorts data.
inverse_argsort
Construct the permutation that takes data.sorted() to data.
invert
Given a permutation, construct its inverse.