#random #mersenne

mersenne_twister

Mersenne Twister pseudorandom number generator

11 releases (3 stable)

Uses old Rust 2015

1.1.1 Jan 17, 2018
1.1.0 Feb 23, 2017
1.0.0 Jan 20, 2017
0.3.0 May 30, 2015
0.1.0 Feb 2, 2015

#55 in #rng

Download history 258/week @ 2024-12-11 155/week @ 2024-12-18 244/week @ 2024-12-25 141/week @ 2025-01-01 137/week @ 2025-01-08 257/week @ 2025-01-15 134/week @ 2025-01-22 120/week @ 2025-01-29 187/week @ 2025-02-05 170/week @ 2025-02-12 111/week @ 2025-02-19 175/week @ 2025-02-26 56/week @ 2025-03-05 230/week @ 2025-03-12 121/week @ 2025-03-19 179/week @ 2025-03-26

590 downloads per month
Used in 256 crates (3 directly)

MIT/Apache

89KB
1.5K SLoC

Mersenne Twister in Rust

This is a pure rust port of the Mersenne Twister pseudorandom number generators. See the rustdoc for suggested usage.

Algorithms

  • MT19937 (32-bit version)
  • MT19937-64 (64-bit version)

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~340–570KB