#random #generator #preshing

preshrng

A random number generator using Jeff Preshing's algorithm

1 unstable release

Uses old Rust 2015

0.1.0 Aug 2, 2018

#86 in #rng

Unlicense

3KB
57 lines

preshrng

Build Status Current Crates.io Version

Acknowledgements

This lib implements an algorithm to generate unique random integers, which was taken from this repository.

Relevant article: http://preshing.com/20121224/how-to-generate-a-sequence-of-unique-random-integers/

License

Released to the public domain.


lib.rs:

This lib implements a random number generator which outputs a unique usize-d integer. Original version (in C++): https://github.com/preshing/RandomSequence Article: http://preshing.com/20121224/how-to-generate-a-sequence-of-unique-random-integers/

No runtime deps