Trait Distribution
mathru::statistics::distrib
pub trait Distribution { fn random(&self) -> f64; fn random_vector(&self, size: usize) -> Vector<f64> { ... } }
fn random(&self) -> f64
fn random_vector(&self, size: usize) -> Vector<f64>
impl Distribution for Normal
See Knuth The Art of Computer Programming Vol 2 3.4.1 C Algorithm P
impl Distribution for Uniform