pub trait BkWorkImpl: Sized {
type Elem: Scalar;
// Required methods
fn new(l: MatrixLayout) -> Result<Self>;
fn calc(&mut self, uplo: UPLO, a: &mut [Self::Elem]) -> Result<&[i32]>;
fn eval(self, uplo: UPLO, a: &mut [Self::Elem]) -> Result<Pivot>;
}
Expand description
Factorize symmetric/Hermitian matrix using Bunch-Kaufman diagonal pivoting method
§LAPACK correspondance
f32 | f64 | c32 | c64 |
---|---|---|---|
ssytrf | dsytrf | chetrf | zhetrf |
Required Associated Types§
Required Methods§
fn new(l: MatrixLayout) -> Result<Self>
fn calc(&mut self, uplo: UPLO, a: &mut [Self::Elem]) -> Result<&[i32]>
fn eval(self, uplo: UPLO, a: &mut [Self::Elem]) -> Result<Pivot>
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.