urng 0.9.0

Universal Random Number Generator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Statistical test harness for RNGs.
//! This module provides utilities for testing RNGs, including:
//! * **Chi-squared test**: [`chisq`] module for assessing uniformity of RNG outputs.
//! * **Monte Carlo estimation of π**: [`mcpi`] module for estimating π using random sampling.

pub(crate) mod _internal;
pub mod chisq;
pub mod mcpi;
#[cfg(feature = "rand")]
pub mod rand_adapter;
pub mod test;

pub use chisq::*;
pub use mcpi::*;
#[cfg(feature = "rand")]
pub use rand_adapter::*;
pub use test::*;