#combinatorics #generate #permutation

permutations

Library for generating permutations

2 releases

0.1.1 Dec 29, 2021
0.1.0 Dec 20, 2021

#886 in Math

Download history 7/week @ 2024-01-08 2/week @ 2024-02-05 4/week @ 2024-02-12 8/week @ 2024-02-19 46/week @ 2024-02-26 19/week @ 2024-03-04 13/week @ 2024-03-11 12/week @ 2024-03-18 30/week @ 2024-03-25 106/week @ 2024-04-01

165 downloads per month
Used in 5 crates (2 directly)

MIT/Apache

24KB
638 lines

permutations

github Crate Docs Test Status

A library for permutations.

Applications

Iterate over the permutations of n elements in lexicographic order, or access them by index.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~74KB