pub trait EigGeneralizedWorkImpl: 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],
b: &mut [Self::Elem],
) -> Result<EigGeneralizedRef<'work, Self::Elem>>;
fn eval(
self,
a: &mut [Self::Elem],
b: &mut [Self::Elem],
) -> Result<EigGeneralizedOwned<Self::Elem>>;
}
Expand description
Helper trait for implementing EigGeneralizedWork 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], b: &mut [Self::Elem], ) -> Result<EigGeneralizedRef<'work, Self::Elem>>
fn eval( self, a: &mut [Self::Elem], b: &mut [Self::Elem], ) -> Result<EigGeneralizedOwned<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.