Struct flow_sdk::algorithms::secp256k1::rand::distributions::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, Distribution};
let t = StudentT::new(11.0);
let v = t.sample(&mut rand::thread_rng());
println!("{} is from a t(11) distribution", v)
Implementations
Trait Implementations
Generate a random value of T
, using rng
as the source of randomness.
Create an iterator that generates random values of T
, using rng
as
the source of randomness. Read more
Auto Trait Implementations
impl RefUnwindSafe for StudentT
impl UnwindSafe for StudentT
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more