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

pub trait Distribution<T> where
    T: Real
{ fn random(&self) -> T; fn random_sequence(&self, size: u32) -> Vec<T> { ... } }

Required methods

fn random(&self) -> T

Loading content...

Provided methods

fn random_sequence(&self, size: u32) -> Vec<T>

Loading content...

Implementors

impl<T> Distribution<T> for LogNormal<T> where
    T: Real
[src]

impl<T> Distribution<T> for Normal<T> where
    T: Real
[src]

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

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

impl<T> Distribution<T> for Uniform<T> where
    T: Real
[src]

Loading content...