[−][src]Struct rstat::univariate::degenerate::Degenerate
Fields
k: Loc<T>
Methods
impl<T: Zero + PartialOrd> Degenerate<T>
[src]
pub fn new(k: T) -> Degenerate<T>
[src]
Trait Implementations
impl<T: Clone + Zero + PartialOrd> Clone for Degenerate<T>
[src]
fn clone(&self) -> Degenerate<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ContinuousDistribution for Degenerate<f64>
[src]
impl<T: Debug + Zero + PartialOrd> Debug for Degenerate<T>
[src]
impl<T: Zero + PartialOrd + Default> Default for Degenerate<T>
[src]
fn default() -> Degenerate<T>
[src]
impl DiscreteDistribution for Degenerate<i64>
[src]
impl<T: Zero + PartialOrd + Display> Display for Degenerate<T>
[src]
impl Distribution for Degenerate<f64>
[src]
type Support = Reals
Support of sample elements.
type Params = Loc<f64>
Parameter set uniquely defining the instance.
fn support(&self) -> Reals
[src]
fn params(&self) -> Loc<f64>
[src]
fn cdf(&self, x: &f64) -> Probability
[src]
fn sample<R: Rng + ?Sized>(&self, _: &mut R) -> f64
[src]
fn into_support(self) -> Self::Support
[src]
fn into_params(self) -> Self::Params
[src]
fn ccdf(&self, x: &Sample<Self>) -> Probability
[src]
fn log_cdf(&self, x: &Sample<Self>) -> f64
[src]
fn log_ccdf(&self, x: &Sample<Self>) -> f64
[src]
fn sample_n<R: Rng + ?Sized>(&self, rng: &mut R, n: usize) -> Vec<Sample<Self>>
[src]
fn sample_iter<'a, R: Rng + ?Sized>(
&'a self,
rng: &'a mut R
) -> Sampler<'a, Self, R>
[src]
&'a self,
rng: &'a mut R
) -> Sampler<'a, Self, R>
impl Distribution for Degenerate<i64>
[src]
type Support = Integers
Support of sample elements.
type Params = Loc<i64>
Parameter set uniquely defining the instance.
fn support(&self) -> Integers
[src]
fn params(&self) -> Loc<i64>
[src]
fn cdf(&self, x: &i64) -> Probability
[src]
fn sample<R: Rng + ?Sized>(&self, _: &mut R) -> i64
[src]
fn into_support(self) -> Self::Support
[src]
fn into_params(self) -> Self::Params
[src]
fn ccdf(&self, x: &Sample<Self>) -> Probability
[src]
fn log_cdf(&self, x: &Sample<Self>) -> f64
[src]
fn log_ccdf(&self, x: &Sample<Self>) -> f64
[src]
fn sample_n<R: Rng + ?Sized>(&self, rng: &mut R, n: usize) -> Vec<Sample<Self>>
[src]
fn sample_iter<'a, R: Rng + ?Sized>(
&'a self,
rng: &'a mut R
) -> Sampler<'a, Self, R>
[src]
&'a self,
rng: &'a mut R
) -> Sampler<'a, Self, R>
impl<T: Zero + PartialOrd> Entropy for Degenerate<T>
[src]
impl<T: Zero + PartialOrd> From<Loc<T>> for Degenerate<T>
[src]
fn from(loc: Loc<T>) -> Degenerate<T>
[src]
impl Modes for Degenerate<f64>
[src]
impl Modes for Degenerate<i64>
[src]
impl Quantiles for Degenerate<f64>
[src]
fn quantile(&self, _: Probability) -> f64
[src]
fn median(&self) -> f64
[src]
fn cquantile(&self, p: Probability) -> f64
[src]
fn lower_quartile(&self) -> f64
[src]
fn upper_quartile(&self) -> f64
[src]
fn iqr(&self) -> f64
[src]
fn lower_fence(&self) -> f64
[src]
fn upper_fence(&self) -> f64
[src]
impl Quantiles for Degenerate<i64>
[src]
fn quantile(&self, _: Probability) -> f64
[src]
fn median(&self) -> f64
[src]
fn cquantile(&self, p: Probability) -> f64
[src]
fn lower_quartile(&self) -> f64
[src]
fn upper_quartile(&self) -> f64
[src]
fn iqr(&self) -> f64
[src]
fn lower_fence(&self) -> f64
[src]
fn upper_fence(&self) -> f64
[src]
impl UnivariateMoments for Degenerate<f64>
[src]
fn mean(&self) -> f64
[src]
fn variance(&self) -> f64
[src]
fn skewness(&self) -> f64
[src]
fn kurtosis(&self) -> f64
[src]
fn excess_kurtosis(&self) -> f64
[src]
fn standard_deviation(&self) -> f64
[src]
impl UnivariateMoments for Degenerate<i64>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Degenerate<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for Degenerate<T> where
T: Send,
T: Send,
impl<T> Sync for Degenerate<T> where
T: Sync,
T: Sync,
impl<T> Unpin for Degenerate<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for Degenerate<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,