pub fn create_rng(seed: u64) -> SmallRngExpand description
Creates a fast, seeded random number generator.
Uses SmallRng (Xoshiro256++) for high performance.
The sequence is deterministic for a given seed on the same platform.
ยงExamples
use u_numflow::random::create_rng;
use rand::Rng;
let mut rng = create_rng(42);
let x: f64 = rng.random();
assert!(x >= 0.0 && x < 1.0);