A tiny library to permutate a sequence.
License
bnoordhuis/node-permute
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PERMUTE ======= A tiny library to permutate a sequence. USAGE ===== var permute = require('permute'); var seq = [2,3,5,7,11,13,17,19]; while (permute(seq)) console.log(seq); // Prints 40,319 permutations. PERFORMANCE =========== Acceptable. About 5.5 to 6 times slower than hand-crafted C++ code. KNOWN BUGS ========== None. LICENSE ======= ISC (BSD-like). See the LICENSE file for details.
About
A tiny library to permutate a sequence.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published