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