stdlib-js

stdlib-js/random-iter-minstd-shuffl...

Create an iterator for a linear congruential pseudorandom number generator (LCG) whose output is shuffled.

JavaScript
1
0
Apache License 2.0

This package creates an iterator for a linear congruential pseudorandom number generator (LCG) with shuffled output, based on the MINSTD algorithm. It's part of the stdlib JavaScript library and is designed for developers who need a fast, lightweight PRNG for non-cryptographic purposes like simulations or testing, particularly those already using the stdlib ecosystem. The iterator supports configurable seeding, state management, and iteration limits, returning either raw integers or normalized floats in [0,1).

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

stdlib-bot's profile
stdlib-bot
46 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet