bit-twiddle
Bit twiddling hacks for JavaScript
Bit twiddling hacks for JavaScript
Computes the parity of a permutation
Ranks and unranks permutations
Inverts permutations
Simple combinatorics like power set, combination, and permutation in JavaScript
Computes the cartesian product of arrays provided by an array or an object
Efficient Combinatorics library for JavaScript using ES2015 generator functions. Generate power set, combination, and permutation.
Collection of ~170 lightweight, composable transducers, reducers, generators, iterators for functional data transformations
Shuffle the words in a string and optionally the letters in each word using the Fisher-Yates algorithm. Useful for creating test fixtures, benchmarking samples, etc.
Picks an arbitrary permutation.
Picks an arbitrary permutation.
Picks an arbitrary permutation.
Picks an arbitrary permutation.
Checks if array has a permutation.
Checks if array has a permutation.
permutation utils
Random numbers and Distributions generation
Checks if array has a permutation.
Checks if array has a permutation.
Shuffles array elements in place.