Struct flow_sdk::algorithms::rand::distributions::FisherF [−][src]
pub struct FisherF { /* fields omitted */ }
Expand description
The Fisher F distribution F(m, n)
.
This distribution is equivalent to the ratio of two normalised
chi-squared distributions, that is, F(m,n) = (χ²(m)/m) / (χ²(n)/n)
.
Example
use rand::distributions::{FisherF, Distribution};
let f = FisherF::new(2.0, 32.0);
let v = f.sample(&mut rand::thread_rng());
println!("{} is from an F(2, 32) 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 FisherF
impl UnwindSafe for FisherF
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