Crate sfmt[][src]

Expand description

Rust implementation of SIMD-oriented Fast Mersenne Twister (SFMT) using stable SIMD

use rand_core::{RngCore, SeedableRng};
let mut rng = sfmt::SFMT::seed_from_u64(42);
let r = rng.next_u32();
println!("random u32 number = {}", r);

Structs

State of SFMT

Thread-local RNG based on SFMT.

Functions

Create a thread local RNG.