Crates.io | permoot |
lib.rs | permoot |
version | 0.2.1 |
source | src |
created_at | 2022-10-06 22:14:04.816755 |
updated_at | 2022-10-06 23:04:28.91895 |
description | General-purpose no_std permutation library |
homepage | |
repository | https://codeberg.org/T0mstone/permoot |
max_upload_size | |
id | 681612 |
size | 33,160 |
A permutation is a mathematical object describing a rearrangement of some (finite) number of objects.
As an example, sorting an array gives you a permutation on the array indices.
Inversely, you can use any permutation on N
elements as a way to reorder an array of length N
(see [Permutation::apply
])
By default, permoot is no_std
.
No crate features are enabled by default.
std
feature enables a few extra features that require the standard libraryrand
feature enables rand
support, allowing you to generate random permutationsI might add these if I come around to it:
serde
support