-
Notifications
You must be signed in to change notification settings - Fork 29
Permutation
Jean-Daniel Fekete edited this page Aug 26, 2015
·
1 revision
Wiki ▸ API Reference ▸ Core ▸ Permutation
- reorder.permutation - return a identity permutation of a specified length.
-
reorder.inverse_permutation - return the inverse of a permutation so that
inverse_permutation(permutation(i)) == i
. - reorder.permute - apply a permutation to a list/vector.
- reorder.permute_inplace - permutes a list/vector in place.
- reorder.permute_transpose - permutes the columns of an array.
- reorder.randomPermutation - return a random permutation of a specified length.
- reorder.stable_permute - apply a permutation that starts with the lowest index of the two ends.