lax::solve

Trait InvWorkImpl

source
pub trait InvWorkImpl: Sized {
    type Elem: Scalar;

    // Required methods
    fn new(layout: MatrixLayout) -> Result<Self>;
    fn calc(&mut self, a: &mut [Self::Elem], p: &Pivot) -> Result<()>;
}
Expand description

Helper trait to abstract *getri LAPACK rotuines for implementing Lapack::inv

§LAPACK correspondance

f32f64c32c64
sgetridgetricgetrizgetri

Required Associated Types§

source

type Elem: Scalar

Required Methods§

source

fn new(layout: MatrixLayout) -> Result<Self>

source

fn calc(&mut self, a: &mut [Self::Elem], p: &Pivot) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§