pub struct Eig<T> {
pub values: Vec<Complex<T>>,
pub vectors: Vec<Complex<T>>,
}Expand description
The eigen decomposition of an n×n matrix: a V = V diag(values), with complex values and vectors whose parts have type T. The eigenvalues come in the order the Schur form holds them. Column j of the n×n matrix vectors is an eigenvector for values[j], of unit length. For a real matrix, a real eigenvalue has an imaginary part of exactly 0, and a real eigenvector. A complex pair comes as the eigenvalue with the positive imaginary part, then its conjugate. Their eigenvectors are conjugates too.
Fields§
§values: Vec<Complex<T>>§vectors: Vec<Complex<T>>Trait Implementations§
impl<T: PartialEq> StructuralPartialEq for Eig<T>
Auto Trait Implementations§
impl<T> Forget for Eig<T>
impl<T> Freeze for Eig<T>
impl<T> RefUnwindSafe for Eig<T>
impl<T> Send for Eig<T>
impl<T> Sync for Eig<T>
impl<T> Unpin for Eig<T>
impl<T> UnsafeUnpin for Eig<T>
impl<T> UnwindSafe for Eig<T>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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