pub struct FisherF<N> { /* private fields */ }
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_distr::{FisherF, Distribution};
let f = FisherF::new(2.0, 32.0).unwrap();
let v = f.sample(&mut rand::thread_rng());
println!("{} is from an F(2, 32) distribution", v)
Implementations§
Trait Implementations§
Source§impl<N: Float> Distribution<N> for FisherF<N>
impl<N: Float> Distribution<N> for FisherF<N>
impl<N: Copy> Copy for FisherF<N>
Auto Trait Implementations§
impl<N> Freeze for FisherF<N>where
N: Freeze,
impl<N> RefUnwindSafe for FisherF<N>where
N: RefUnwindSafe,
impl<N> Send for FisherF<N>where
N: Send,
impl<N> Sync for FisherF<N>where
N: Sync,
impl<N> Unpin for FisherF<N>where
N: Unpin,
impl<N> UnwindSafe for FisherF<N>where
N: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more