Struct ndarray_linalg::diagonal::Diagonal [−][src]
Vector as a Diagonal matrix
Trait Implementations
impl<A, Sa> LinearOperator for Diagonal<Sa> where
A: Scalar,
Sa: Data<Elem = A>,
[src]
A: Scalar,
Sa: Data<Elem = A>,
type Elem = A
fn apply_mut<S>(&self, a: &mut ArrayBase<S, Ix1>) where
S: DataMut<Elem = A>,
[src]
S: DataMut<Elem = A>,
fn apply<S>(&self, a: &ArrayBase<S, Ix1>) -> Array1<S::Elem> where
S: Data<Elem = Self::Elem>,
[src]
S: Data<Elem = Self::Elem>,
fn apply_into<S>(&self, a: ArrayBase<S, Ix1>) -> ArrayBase<S, Ix1> where
S: DataOwned<Elem = Self::Elem> + DataMut,
[src]
S: DataOwned<Elem = Self::Elem> + DataMut,
fn apply2<S>(&self, a: &ArrayBase<S, Ix2>) -> Array2<S::Elem> where
S: Data<Elem = Self::Elem>,
[src]
S: Data<Elem = Self::Elem>,
fn apply2_mut<S>(&self, a: &mut ArrayBase<S, Ix2>) where
S: DataMut<Elem = Self::Elem>,
[src]
S: DataMut<Elem = Self::Elem>,
fn apply2_into<S>(&self, a: ArrayBase<S, Ix2>) -> ArrayBase<S, Ix2> where
S: DataOwned<Elem = Self::Elem> + DataMut,
[src]
S: DataOwned<Elem = Self::Elem> + DataMut,
Auto Trait Implementations
impl<S> RefUnwindSafe for Diagonal<S> where
S: RefUnwindSafe,
<S as RawData>::Elem: RefUnwindSafe,
S: RefUnwindSafe,
<S as RawData>::Elem: RefUnwindSafe,
impl<S> Send for Diagonal<S> where
S: Send,
S: Send,
impl<S> Sync for Diagonal<S> where
S: Sync,
S: Sync,
impl<S> Unpin for Diagonal<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for Diagonal<S> where
S: UnwindSafe,
<S as RawData>::Elem: RefUnwindSafe,
S: UnwindSafe,
<S as RawData>::Elem: RefUnwindSafe,
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,
pub 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, 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.
pub 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.
pub 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>,