Trait lax::eig::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>>

Object Safety§

This trait is not object safe.

Implementors§