[−][src]Struct rstat::univariate::normal::Normal
Methods
impl UvNormal
[src]
pub fn new(mu: f64, sigma2: f64) -> Result<UvNormal, Error>
[src]
pub fn new_unchecked(mu: f64, sigma2: f64) -> UvNormal
[src]
pub fn standard() -> UvNormal
[src]
pub fn z(&self, x: f64) -> f64
[src]
pub fn precision(&self) -> f64
[src]
pub fn width(&self) -> f64
[src]
Trait Implementations
impl Clone for UvNormal
[src]
impl ContinuousDistribution for UvNormal
[src]
impl Convolution<UvNormal> for UvNormal
[src]
type Output = UvNormal
The resulting Distribution type.
fn convolve(self, rv: UvNormal) -> Result<UvNormal, Error>
[src]
fn convolve_many(self, rvs: Vec<T>) -> Result<Self::Output, Error> where
Self::Output: Convolution<T, Output = Self::Output>,
Self: Sized,
[src]
Self::Output: Convolution<T, Output = Self::Output>,
Self: Sized,
impl Copy for UvNormal
[src]
impl Debug for UvNormal
[src]
impl Display for UvNormal
[src]
impl Distribution for UvNormal
[src]
type Support = Reals
Support of sample elements.
type Params = UvNormalParams
Parameter set uniquely defining the instance.
fn support(&self) -> Reals
[src]
fn params(&self) -> Self::Params
[src]
fn cdf(&self, x: &f64) -> Probability
[src]
fn sample<R: Rng + ?Sized>(&self, rng: &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 FisherInformation for UvNormal
[src]
fn fisher_information(&self) -> Array2<f64>
[src]
impl From<Params<f64, f64>> for UvNormal
[src]
fn from(from: UvNormalParams) -> UvNormal
[src]
impl Likelihood for UvNormal
[src]
fn log_likelihood(&self, samples: &[f64]) -> f64
[src]
fn likelihood(&self, samples: &[Sample<Self>]) -> f64
[src]
impl MLE for UvNormal
[src]
impl Modes for UvNormal
[src]
impl Quantiles for UvNormal
[src]
fn quantile(&self, p: 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 Score for UvNormal
[src]
type Grad = UvNormalGrad
fn score(&self, samples: &[f64]) -> UvNormalGrad
[src]
impl ShannonEntropy for UvNormal
[src]
fn shannon_entropy(&self) -> f64
[src]
impl UnivariateMoments for UvNormal
[src]
Auto Trait Implementations
impl RefUnwindSafe for UvNormal
impl Send for UvNormal
impl Sync for UvNormal
impl Unpin for UvNormal
impl UnwindSafe for UvNormal
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>,