lax::eig

Trait EigWorkImpl

Source
pub trait EigWorkImpl: Sized {
    type Elem: Scalar;

    // Required methods
    fn new(calc_v: bool, l: MatrixLayout) -> Result<Self>;
    fn calc<'work>(
        &'work mut self,
        a: &mut [Self::Elem],
    ) -> Result<EigRef<'work, Self::Elem>>;
    fn eval(self, a: &mut [Self::Elem]) -> Result<EigOwned<Self::Elem>>;
}
Expand description

Helper trait for implementing EigWork methods

Required Associated Types§

Source

type Elem: Scalar

Required Methods§

Source

fn new(calc_v: bool, l: MatrixLayout) -> Result<Self>

Source

fn calc<'work>( &'work mut self, a: &mut [Self::Elem], ) -> Result<EigRef<'work, Self::Elem>>

Source

fn eval(self, a: &mut [Self::Elem]) -> Result<EigOwned<Self::Elem>>

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§