ndarray_linalg::solve

Trait 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,