lax::eigh_generalized

Trait EighGeneralizedWorkImpl

source
pub trait EighGeneralizedWorkImpl: 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],
        b: &mut [Self::Elem],
    ) -> Result<&[<Self::Elem as Scalar>::Real]>;
    fn eval(
        self,
        uplo: UPLO,
        a: &mut [Self::Elem],
        b: &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], b: &mut [Self::Elem], ) -> Result<&[<Self::Elem as Scalar>::Real]>

source

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

Object Safety§

This trait is not object safe.

Implementors§