Struct rand::distributions::gamma::StudentT [−][src]
pub struct StudentT { /* fields omitted */ }Expand description
The Student t distribution, t(nu), where nu is the degrees of
freedom.
Example
use rand::distributions::{StudentT, IndependentSample};
let t = StudentT::new(11.0);
let v = t.ind_sample(&mut rand::thread_rng());
println!("{} is from a t(11) distribution", v)Implementations
Trait Implementations
Generate a random value.
Auto Trait Implementations
impl RefUnwindSafe for StudentT
impl UnwindSafe for StudentT
Blanket Implementations
Mutably borrows from an owned value. Read more
