Crates.io | permutation |
lib.rs | permutation |
version | 0.4.1 |
source | src |
created_at | 2017-03-26 03:43:23.519723 |
updated_at | 2022-07-21 23:42:10.139643 |
description | Small utility for creating, manipulating, and applying permutations. |
homepage | |
repository | https://github.com/jeremysalwen/rust-permutations |
max_upload_size | |
id | 9153 |
size | 52,373 |
Permutations is a rust library for manipulating and applying permutations.
//! A module for representing permutations, applying them to slices and indices,
//! and computing them from sort orders.
//!
//! Some practical uses of this module are:
//! * Calculate a sort, and apply it later.
//! * Calculate a sort on one vector, and apply it to multiple other vectors.
//! * Calculate the new index of an element before sorting.
//! * Remember the prior index of an element after sorting.
//! * Undo a sort.
//! * Compare the orderings of elements.
Dual licensed Apache-2.0 and MIT
Copyright 2017-2022 Jeremy Salwen jeremysalwen@gmail.com and contributors