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<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§