Search results
13 packages found
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support
Shuffle elements of an array-like object.
The Fisher-Yates (aka Knuth) shuffle for Browser and Node.js
Shuffles array elements in place.
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.
- algorithm
- benchmarking
- combinatorics
- efficient
- equally
- finite
- fisher
- fixtures
- knuth
- letters
- permutation
- random
- randomly
- randomize
- View more
The shuffling algorithm that DOES NOT use Math.random()
A set of math utilities for working with random numbers/arrays.
Generate an array of random number ranges. Useful for creating test fixtures or benchmarking samples.
- algorithm
- benchmarking
- combinatorics
- efficient
- equally
- finite
- fisher
- fixtures
- knuth
- letters
- permutation
- random
- randomly
- replacement
- View more
Invertible transformations on permutation representations, including an RNG-free in-place Fisher-Yates-Knuth shuffle
- base
- factoradic
- factorial
- Fisher-Yates
- Fisher-Yates-Knuth
- in-place
- Knuth
- number
- permutation
- permutations
- permute
- shuffle
- system
Shuffle an array of objects using Fisher-Yates shuffle algorithm
Generates a random permutation