[][src]Struct ndarray_linalg::diagonal::Diagonal

pub struct Diagonal<S: Data> { /* fields omitted */ }

Vector as a Diagonal matrix

Trait Implementations

impl<A, S, Sr> Operator<A, Sr, Dim<[usize; 1]>> for Diagonal<S> where
    A: LinalgScalar,
    S: Data<Elem = A>,
    Sr: Data<Elem = A>, 
[src]

impl<A, S, Sr> Operator<A, Sr, Dim<[usize; 2]>> for Diagonal<S> where
    A: LinalgScalar,
    S: Data<Elem = A>,
    Sr: Data<Elem = A>, 
[src]

impl<A, S, Sr> OperatorInto<Sr, Dim<[usize; 1]>> for Diagonal<S> where
    A: LinalgScalar,
    S: Data<Elem = A>,
    Sr: DataOwned<Elem = A> + DataMut
[src]

impl<A, S, Sr> OperatorInto<Sr, Dim<[usize; 2]>> for Diagonal<S> where
    A: LinalgScalar,
    S: Data<Elem = A>,
    Sr: DataOwned<Elem = A> + DataMut
[src]

impl<A, S, Sr> OperatorInplace<Sr, Dim<[usize; 1]>> for Diagonal<S> where
    A: LinalgScalar,
    S: Data<Elem = A>,
    Sr: DataMut<Elem = A>, 
[src]

impl<A, S, Sr> OperatorInplace<Sr, Dim<[usize; 2]>> for Diagonal<S> where
    A: LinalgScalar,
    S: Data<Elem = A>,
    Sr: DataMut<Elem = A>, 
[src]

Auto Trait Implementations

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

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

Blanket Implementations

impl<T, A, S, D> Operator<A, S, D> for T where
    A: Scalar + Lapack,
    D: Dimension,
    S: Data<Elem = A>,
    T: Dot<ArrayBase<S, D>, Output = ArrayBase<OwnedRepr<A>, D>>, 
[src]

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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