pub struct GeneralEigenDecomposition {
pub eigenvalues: Vec<(f64, f64)>,
pub eigenvectors: Vec<(Vec<f64>, Vec<f64>)>,
}Expand description
Result of a general eigenvalue decomposition.
Eigenvalues may be complex, represented as (real, imaginary) pairs.
Eigenvectors for real eigenvalues have zero imaginary components; for
complex conjugate pairs, only one pair of (real_part, imag_part)
vectors is stored.
Fields§
§eigenvalues: Vec<(f64, f64)>Computed eigenvalues as (real, imaginary) pairs.
eigenvectors: Vec<(Vec<f64>, Vec<f64>)>Corresponding eigenvectors: each entry is (real_part, imag_part)
where both vectors have length n. For a real eigenvalue, the
imaginary part is all zeros.
Trait Implementations§
Source§impl Clone for GeneralEigenDecomposition
impl Clone for GeneralEigenDecomposition
Source§fn clone(&self) -> GeneralEigenDecomposition
fn clone(&self) -> GeneralEigenDecomposition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GeneralEigenDecomposition
impl RefUnwindSafe for GeneralEigenDecomposition
impl Send for GeneralEigenDecomposition
impl Sync for GeneralEigenDecomposition
impl Unpin for GeneralEigenDecomposition
impl UnsafeUnpin for GeneralEigenDecomposition
impl UnwindSafe for GeneralEigenDecomposition
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