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§
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>>
Object Safety§
This trait is not object safe.