lax::eigh

Trait EighWorkImpl

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

    // Required methods
    fn new(calc_eigenvectors: bool, layout: MatrixLayout) -> Result<Self>;
    fn calc(
        &mut self,
        uplo: UPLO,
        a: &mut [Self::Elem],
    ) -> Result<&[<Self::Elem as Scalar>::Real]>;
    fn eval(
        self,
        uplo: UPLO,
        a: &mut [Self::Elem],
    ) -> Result<Vec<<Self::Elem as Scalar>::Real>>;
}

Required Associated Types§

Source

type Elem: Scalar

Required Methods§

Source

fn new(calc_eigenvectors: bool, layout: MatrixLayout) -> Result<Self>

Source

fn calc( &mut self, uplo: UPLO, a: &mut [Self::Elem], ) -> Result<&[<Self::Elem as Scalar>::Real]>

Source

fn eval( self, uplo: UPLO, a: &mut [Self::Elem], ) -> Result<Vec<<Self::Elem as Scalar>::Real>>

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§