Implementation of Ranlux in rust. Moreover improved generator are provided following the blog post of Christoph Conrads' blog.
Ranlux is a non cryptographic pseudo random number generator. It has excellent statistical property. It was developed for Monte Carlo simulation, more precisely Lattice Field Theory Simulations.
The base implementation of ranlux is meant to generator f32 and f64 random number between 0 and 1. We provided a modified a modified version able to generate random bites.
Add ranlux_rs = { version = "0.1.0", git = "https://github.com/ABouttefeux/ranlux_rs", branch = "develop" }
in your cargo.toml
.
I need this generator for lattice_qcd_rs and there was no implementation that I know of in rust.