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
f32 | f64 | c32 | c64 |
---|---|---|---|
sgetri | dgetri | cgetri | zgetri |
Required Associated Types§
Required Methods§
fn new(layout: MatrixLayout) -> Result<Self>
fn calc(&mut self, a: &mut [Self::Elem], p: &Pivot) -> Result<()>
Object Safety§
This trait is not object safe.