[−][src]Struct rv::dist::ChiSquared
Methods
impl ChiSquared
[src]
impl ChiSquared
[src]
pub fn new(k: f64) -> Result<Self>
[src]
pub fn new_unchecked(k: f64) -> Self
[src]
Create a new ChiSquared wihout checking whether the parameters are valid.
pub fn k(&self) -> f64
[src]
Get the degrees of freedom, k
.
Example
let x2 = ChiSquared::new(1.2).unwrap(); assert_eq!(x2.k(), 1.2);
Trait Implementations
impl Rv<f64> for ChiSquared
[src]
fn ln_f(&self, x: &f64) -> f64
[src]
fn draw<R: Rng>(&self, rng: &mut R) -> f64
[src]
fn sample<R: Rng>(&self, n: usize, rng: &mut R) -> Vec<f64>
[src]
fn f(&self, x: &X) -> f64
[src]
impl Rv<f32> for ChiSquared
[src]
fn ln_f(&self, x: &f32) -> f64
[src]
fn draw<R: Rng>(&self, rng: &mut R) -> f32
[src]
fn sample<R: Rng>(&self, n: usize, rng: &mut R) -> Vec<f32>
[src]
fn f(&self, x: &X) -> f64
[src]
impl Support<f64> for ChiSquared
[src]
impl Support<f32> for ChiSquared
[src]
impl ContinuousDistr<f64> for ChiSquared
[src]
impl ContinuousDistr<f32> for ChiSquared
[src]
impl Cdf<f64> for ChiSquared
[src]
impl Cdf<f32> for ChiSquared
[src]
impl Mean<f64> for ChiSquared
[src]
impl Mean<f32> for ChiSquared
[src]
impl Mode<f64> for ChiSquared
[src]
impl Mode<f32> for ChiSquared
[src]
impl Variance<f64> for ChiSquared
[src]
impl Variance<f32> for ChiSquared
[src]
impl Skewness for ChiSquared
[src]
impl Kurtosis for ChiSquared
[src]
impl<'_> From<&'_ ChiSquared> for String
[src]
fn from(x2: &ChiSquared) -> String
[src]
impl Clone for ChiSquared
[src]
fn clone(&self) -> ChiSquared
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ChiSquared> for ChiSquared
[src]
fn eq(&self, other: &ChiSquared) -> bool
[src]
fn ne(&self, other: &ChiSquared) -> bool
[src]
impl PartialOrd<ChiSquared> for ChiSquared
[src]
fn partial_cmp(&self, other: &ChiSquared) -> Option<Ordering>
[src]
fn lt(&self, other: &ChiSquared) -> bool
[src]
fn le(&self, other: &ChiSquared) -> bool
[src]
fn gt(&self, other: &ChiSquared) -> bool
[src]
fn ge(&self, other: &ChiSquared) -> bool
[src]
impl Display for ChiSquared
[src]
impl Debug for ChiSquared
[src]
Auto Trait Implementations
impl Send for ChiSquared
impl Sync for ChiSquared
impl Unpin for ChiSquared
impl UnwindSafe for ChiSquared
impl RefUnwindSafe for ChiSquared
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,