knuth-shuffle-seeded
The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support
The Fisher-Yates (aka Knuth) shuffle for Node.js, with seeding support
The Fisher-Yates (aka Knuth) shuffle for Browser and Node.js
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.
Returns an integer corresponding to the unbiased exponent of a double-precision floating-point number.
Generate an array of random number ranges. Useful for creating test fixtures or benchmarking samples.
An unbiased CSPRNG inspired by PHP's random_int.
Returns an integer corresponding to the unbiased exponent of a single-precision floating-point number.
Calculate the variance of a strided array ignoring NaN values.
Calculate the variance of a strided array ignoring NaN values and using a one-pass trial mean algorithm.
Calculate the variance of a strided array ignoring NaN values and using a two-pass algorithm.
Calculate the variance of a strided array ignoring NaN values and using a one-pass textbook algorithm.
Calculate the variance of a strided array ignoring NaN values and using Welford's algorithm.
Calculate the variance of a strided array ignoring NaN values and using a one-pass algorithm proposed by Youngs and Cramer.
Calculate the variance of a double-precision floating-point strided array using a one-pass trial mean algorithm.
Calculate the variance of a double-precision floating-point strided array using a two-pass algorithm.
Calculate the variance of a double-precision floating-point strided array using a one-pass textbook algorithm.
Calculate the variance of a double-precision floating-point strided array using Welford's algorithm.
Calculate the variance of a double-precision floating-point strided array using a one-pass algorithm proposed by Youngs and Cramer.
Calculate the variance of a double-precision floating-point strided array provided a known mean.
Calculate the variance of a double-precision floating-point strided array provided a known mean and using Neely's correction algorithm.