Trait ndarray_linalg::operator::LinearOperator[][src]

pub trait LinearOperator {
    type Elem: Scalar;
    fn apply<S>(&self, a: &ArrayBase<S, Ix1>) -> Array1<S::Elem>
    where
        S: Data<Elem = Self::Elem>
, { ... }
fn apply_mut<S>(&self, a: &mut ArrayBase<S, Ix1>)
    where
        S: DataMut<Elem = Self::Elem>
, { ... }
fn apply_into<S>(&self, a: ArrayBase<S, Ix1>) -> ArrayBase<S, Ix1>
    where
        S: DataOwned<Elem = Self::Elem> + DataMut
, { ... }
fn apply2<S>(&self, a: &ArrayBase<S, Ix2>) -> Array2<S::Elem>
    where
        S: Data<Elem = Self::Elem>
, { ... }
fn apply2_mut<S>(&self, a: &mut ArrayBase<S, Ix2>)
    where
        S: DataMut<Elem = Self::Elem>
, { ... }
fn apply2_into<S>(&self, a: ArrayBase<S, Ix2>) -> ArrayBase<S, Ix2>
    where
        S: DataOwned<Elem = Self::Elem> + DataMut
, { ... } }

Abstracted linear operator as an action to vector (ArrayBase<S, Ix1>) and matrix (ArrayBase<S, Ix2)

Associated Types

Loading content...

Provided methods

fn apply<S>(&self, a: &ArrayBase<S, Ix1>) -> Array1<S::Elem> where
    S: Data<Elem = Self::Elem>, 
[src]

Apply operator out-place

fn apply_mut<S>(&self, a: &mut ArrayBase<S, Ix1>) where
    S: DataMut<Elem = Self::Elem>, 
[src]

Apply operator in-place

fn apply_into<S>(&self, a: ArrayBase<S, Ix1>) -> ArrayBase<S, Ix1> where
    S: DataOwned<Elem = Self::Elem> + DataMut
[src]

Apply operator with move

fn apply2<S>(&self, a: &ArrayBase<S, Ix2>) -> Array2<S::Elem> where
    S: Data<Elem = Self::Elem>, 
[src]

Apply operator to matrix out-place

fn apply2_mut<S>(&self, a: &mut ArrayBase<S, Ix2>) where
    S: DataMut<Elem = Self::Elem>, 
[src]

Apply operator to matrix in-place

fn apply2_into<S>(&self, a: ArrayBase<S, Ix2>) -> ArrayBase<S, Ix2> where
    S: DataOwned<Elem = Self::Elem> + DataMut
[src]

Apply operator to matrix with move

Loading content...

Implementations on Foreign Types

impl<A, Sa> LinearOperator for ArrayBase<Sa, Ix2> where
    A: Scalar,
    Sa: Data<Elem = A>, 
[src]

type Elem = A

Loading content...

Implementors

impl<A, Sa> LinearOperator for Diagonal<Sa> where
    A: Scalar,
    Sa: Data<Elem = A>, 
[src]

type Elem = A

Loading content...