pub struct EighWork<T: Scalar> {
pub n: i32,
pub jobz: JobEv,
pub eigs: Vec<MaybeUninit<T::Real>>,
pub work: Vec<MaybeUninit<T>>,
pub rwork: Option<Vec<MaybeUninit<T::Real>>>,
}
Fields§
§n: i32
§jobz: JobEv
§eigs: Vec<MaybeUninit<T::Real>>
§work: Vec<MaybeUninit<T>>
§rwork: Option<Vec<MaybeUninit<T::Real>>>
Trait Implementations§
source§impl EighWorkImpl for EighWork<c32>
impl EighWorkImpl for EighWork<c32>
type Elem = Complex<f32>
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>>
source§impl EighWorkImpl for EighWork<c64>
impl EighWorkImpl for EighWork<c64>
type Elem = Complex<f64>
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>>
source§impl EighWorkImpl for EighWork<f32>
impl EighWorkImpl for EighWork<f32>
type Elem = f32
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>>
source§impl EighWorkImpl for EighWork<f64>
impl EighWorkImpl for EighWork<f64>
type Elem = f64
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>>
Auto Trait Implementations§
impl<T> Freeze for EighWork<T>
impl<T> RefUnwindSafe for EighWork<T>where
<T as Scalar>::Real: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for EighWork<T>
impl<T> Sync for EighWork<T>
impl<T> Unpin for EighWork<T>
impl<T> UnwindSafe for EighWork<T>where
<T as Scalar>::Real: UnwindSafe,
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more