pub struct FisherF<F>{ /* 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<F> Clone for FisherF<F>where
F: Float + Clone,
StandardNormal: Distribution<F>,
Exp1: Distribution<F>,
Open01: Distribution<F>,
impl<F> Clone for FisherF<F>where
F: Float + Clone,
StandardNormal: Distribution<F>,
Exp1: Distribution<F>,
Open01: Distribution<F>,
Source§impl<F> Debug for FisherF<F>where
F: Float + Debug,
StandardNormal: Distribution<F>,
Exp1: Distribution<F>,
Open01: Distribution<F>,
impl<F> Debug for FisherF<F>where
F: Float + Debug,
StandardNormal: Distribution<F>,
Exp1: Distribution<F>,
Open01: Distribution<F>,
Source§impl<F> Distribution<F> for FisherF<F>
impl<F> Distribution<F> for FisherF<F>
impl<F> Copy for FisherF<F>where
F: Float + Copy,
StandardNormal: Distribution<F>,
Exp1: Distribution<F>,
Open01: Distribution<F>,
Auto Trait Implementations§
impl<F> Freeze for FisherF<F>where
F: Freeze,
impl<F> RefUnwindSafe for FisherF<F>where
F: RefUnwindSafe,
impl<F> Send for FisherF<F>where
F: Send,
impl<F> Sync for FisherF<F>where
F: Sync,
impl<F> Unpin for FisherF<F>where
F: Unpin,
impl<F> UnwindSafe for FisherF<F>where
F: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.