#combinatorics #generate #permutation

permutations

Library for generating permutations

2 releases

0.1.1 Dec 29, 2021
0.1.0 Dec 20, 2021

#949 in Math

Download history 16/week @ 2024-04-07 12/week @ 2024-04-14 11/week @ 2024-04-21 10/week @ 2024-04-28 18/week @ 2024-05-05 21/week @ 2024-05-12 22/week @ 2024-05-19 17/week @ 2024-05-26 26/week @ 2024-06-02 30/week @ 2024-06-09 25/week @ 2024-06-16 14/week @ 2024-06-23 2/week @ 2024-06-30 10/week @ 2024-07-07 28/week @ 2024-07-14 16/week @ 2024-07-21

56 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