Search results
13 packages found
The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support
A fast implementation of a fisher-yates shuffle that does not mutate the source array.
The shuffling algorithm that DOES NOT use Math.random()
Shuffle elements of an array-like object.
A set of math utilities for working with random numbers/arrays.
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
Shuffle an array of objects using Fisher-Yates shuffle algorithm
The Fisher-Yates (aka Knuth) shuffle for Browser and Node.js
Shuffles array elements in place.
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
Generates a random permutation
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