Struct rand::distributions::gamma::StudentT [] [src]

pub struct StudentT {
    // some fields omitted
}
Unstable (rand)

: use rand from crates.io

[]

The Student t distribution, t(nu), where nu is the degrees of freedom.

Methods

impl StudentT
[src]

fn new(n: f64) -> StudentT[]

Unstable (rand)

: use rand from crates.io

Create a new Student t distribution with n degrees of freedom. Panics if n <= 0.

Trait Implementations

impl Sample<f64> for StudentT
[src]

fn sample<R: Rng>(&mut self, rng: &mut R) -> f64[]

Generate a random value of Support, using rng as the source of randomness. Read more

impl IndependentSample<f64> for StudentT
[src]

fn ind_sample<R: Rng>(&self, rng: &mut R) -> f64[]

Generate a random value.