pub struct EigDecomp<S, D0: Dim, D1: Dim> {
pub eigenvalues: Array<S, (D0,)>,
pub left_eigenvectors: Option<Array<S, (D0, D1)>>,
pub right_eigenvectors: Option<Array<S, (D0, D1)>>,
}Expand description
Holds the results of a general eigenvalue decomposition.
The scalar type S is the backend’s spectral scalar for the input matrix
scalar. For a real matrix this is typically a complex scalar, while for a
complex matrix it is usually the matrix scalar itself.
Fields§
§eigenvalues: Array<S, (D0,)>§left_eigenvectors: Option<Array<S, (D0, D1)>>§right_eigenvectors: Option<Array<S, (D0, D1)>>Auto Trait Implementations§
impl<S, D0, D1> Freeze for EigDecomp<S, D0, D1>
impl<S, D0, D1> RefUnwindSafe for EigDecomp<S, D0, D1>where
<D0 as Dim>::Buffer<S, (), Global>: RefUnwindSafe,
<D0 as Dim>::Buffer<S, (D1,), Global>: RefUnwindSafe,
impl<S, D0, D1> Send for EigDecomp<S, D0, D1>
impl<S, D0, D1> Sync for EigDecomp<S, D0, D1>
impl<S, D0, D1> Unpin for EigDecomp<S, D0, D1>
impl<S, D0, D1> UnsafeUnpin for EigDecomp<S, D0, D1>where
<D0 as Dim>::Buffer<S, (), Global>: UnsafeUnpin,
<D0 as Dim>::Buffer<S, (D1,), Global>: UnsafeUnpin,
impl<S, D0, D1> UnwindSafe for EigDecomp<S, D0, D1>where
<D0 as Dim>::Buffer<S, (), Global>: UnwindSafe,
<D0 as Dim>::Buffer<S, (D1,), Global>: 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoCloned<T> for T
impl<T> IntoCloned<T> for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more