Struct ndarray_rand::rand_distr::FisherF
source · 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: Clone + Float,
StandardNormal: Distribution<F>,
Exp1: Distribution<F>,
Open01: Distribution<F>,
impl<F> Clone for FisherF<F>where
F: Clone + Float,
StandardNormal: Distribution<F>,
Exp1: Distribution<F>,
Open01: Distribution<F>,
source§impl<F> Debug for FisherF<F>where
F: Debug + Float,
StandardNormal: Distribution<F>,
Exp1: Distribution<F>,
Open01: Distribution<F>,
impl<F> Debug for FisherF<F>where
F: Debug + Float,
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: Copy + Float,
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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)