[][src]Struct rstat::multivariate::normal::Params

pub struct Params<S> {
    pub mu: Loc<Array1<f64>>,
    pub sigma: Covariance<S>,
}

Fields

mu: Loc<Array1<f64>>sigma: Covariance<S>

Methods

impl Params<Array2<f64>>[src]

pub fn new(mu: Array1<f64>, sigma: Array2<f64>) -> Result<Self, Error>[src]

impl Params<Array1<f64>>[src]

pub fn diagonal(mu: Array1<f64>, sigma: Array1<f64>) -> Result<Self, Error>[src]

impl Params<f64>[src]

pub fn isotropic(mu: Array1<f64>, sigma: f64) -> Result<Self, Error>[src]

pub fn homogeneous(n: usize, mu: f64, sigma: f64) -> Result<Self, Error>[src]

pub fn standard(n: usize) -> Result<Self, Error>[src]

Trait Implementations

impl<S: Clone> Clone for Params<S>[src]

impl<S: Debug> Debug for Params<S>[src]

impl From<Params<ArrayBase<OwnedRepr<f64>, Dim<[usize; 1]>>>> for DiagonalNormal[src]

impl From<Params<ArrayBase<OwnedRepr<f64>, Dim<[usize; 2]>>>> for FullNormal[src]

impl<S> From<Params<S>> for LogNormal<S> where
    Normal<S>: From<Params<S>>, 
[src]

impl From<Params<f64>> for IsotropicNormal[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Params<S> where
    S: RefUnwindSafe

impl<S> Send for Params<S> where
    S: Send

impl<S> Sync for Params<S> where
    S: Sync

impl<S> Unpin for Params<S> where
    S: Unpin

impl<S> UnwindSafe for Params<S> where
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,