permutation/lib.rs
1//! A module for representing permutations, applying them to slices and indices,
2//! and computing them from sort orders.
3//!
4//! Some practical uses of this module are:
5//!
6//! * Calculate a sort, and apply it later.
7//! * Calculate a sort on one vector, and apply it to another vector.
8//! * Calculate a sort on one vector, and apply it to multiple other vectors.
9//! * Calculate the new index of an element before sorting.
10//! * Remember the prior index of an element after sorting.
11//! * Undo a sort.
12//! * Compare the orderings of elements.
13
14pub mod permutation;
15pub use permutation::*;