[][src]Trait mathru::statistics::distrib::Distribution

pub trait Distribution {
    fn random(&self) -> f64;

    fn random_vector(&self, size: usize) -> Vector<f64> { ... }
}

Required methods

fn random(&self) -> f64

Loading content...

Provided methods

fn random_vector(&self, size: usize) -> Vector<f64>

Loading content...

Implementors

impl Distribution for Normal[src]

fn random(&self) -> f64[src]

See Knuth The Art of Computer Programming Vol 2 3.4.1 C Algorithm P

impl Distribution for Uniform[src]

Loading content...