Constructing a permutation matrix

This package:

is neglected, but has the same ideas (matrix form, cycle counts, sparse form). Perhaps it can be alived.

3 Likes