Trait ndarray_linalg::solve::Inverse

source ·
pub trait Inverse {
    type Output;

    // Required method
    fn inv(&self) -> Result<Self::Output>;
}
Expand description

An interface for inverting matrix refs.

Required Associated Types§

Required Methods§

source

fn inv(&self) -> Result<Self::Output>

Computes the inverse of the matrix.

Implementations on Foreign Types§

source§

impl<A, Si> Inverse for ArrayBase<Si, Ix2>
where A: Scalar + Lapack, Si: Data<Elem = A>,

source§

type Output = ArrayBase<OwnedRepr<A>, Dim<[usize; 2]>>

source§

fn inv(&self) -> Result<Self::Output>

Implementors§

source§

impl<A, S> Inverse for LUFactorized<S>
where A: Scalar + Lapack, S: Data<Elem = A> + RawDataClone,