Struct lax::eigh_generalized::EighGeneralizedWork
source · [−]pub struct EighGeneralizedWork<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
sourceimpl EighGeneralizedWorkImpl for EighGeneralizedWork<c32>
impl EighGeneralizedWorkImpl for EighGeneralizedWork<c32>
type Elem = Complex<f32>
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>>
sourceimpl EighGeneralizedWorkImpl for EighGeneralizedWork<c64>
impl EighGeneralizedWorkImpl for EighGeneralizedWork<c64>
type Elem = Complex<f64>
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>>
sourceimpl EighGeneralizedWorkImpl for EighGeneralizedWork<f32>
impl EighGeneralizedWorkImpl for EighGeneralizedWork<f32>
type Elem = f32
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>>
sourceimpl EighGeneralizedWorkImpl for EighGeneralizedWork<f64>
impl EighGeneralizedWorkImpl for EighGeneralizedWork<f64>
type Elem = f64
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>>
Auto Trait Implementations
impl<T> RefUnwindSafe for EighGeneralizedWork<T>where
T: RefUnwindSafe,
<T as Scalar>::Real: RefUnwindSafe,
impl<T> Send for EighGeneralizedWork<T>where
T: Send,
<T as Scalar>::Real: Send,
impl<T> Sync for EighGeneralizedWork<T>where
T: Sync,
<T as Scalar>::Real: Sync,
impl<T> Unpin for EighGeneralizedWork<T>where
T: Unpin,
<T as Scalar>::Real: Unpin,
impl<T> UnwindSafe for EighGeneralizedWork<T>where
T: UnwindSafe,
<T as Scalar>::Real: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more