[][src]Struct nalgebra_lapack::Eigen

pub struct Eigen<N: Scalar, D: Dim> where
    DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, 
{ pub eigenvalues: VectorN<N, D>, pub eigenvectors: Option<MatrixN<N, D>>, pub left_eigenvectors: Option<MatrixN<N, D>>, }

Eigendecomposition of a real square matrix with real eigenvalues.

Fields

eigenvalues: VectorN<N, D>

The eigenvalues of the decomposed matrix.

eigenvectors: Option<MatrixN<N, D>>

The (right) eigenvectors of the decomposed matrix.

left_eigenvectors: Option<MatrixN<N, D>>

The left eigenvectors of the decomposed matrix.

Methods

impl<N: EigenScalar + RealField, D: Dim> Eigen<N, D> where
    DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, 
[src]

pub fn new(
    m: MatrixN<N, D>,
    left_eigenvectors: bool,
    eigenvectors: bool
) -> Option<Eigen<N, D>>
[src]

Computes the eigenvalues and eigenvectors of the square matrix m.

If eigenvectors is false then, the eigenvectors are not computed explicitly.

pub fn complex_eigenvalues(m: MatrixN<N, D>) -> VectorN<Complex<N>, D> where
    DefaultAllocator: Allocator<Complex<N>, D>, 
[src]

The complex eigenvalues of the given matrix.

Panics if the eigenvalue computation does not converge.

pub fn determinant(&self) -> N[src]

The determinant of the decomposed matrix.

Trait Implementations

impl<N: Scalar, D: Dim> Copy for Eigen<N, D> where
    DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>,
    VectorN<N, D>: Copy,
    MatrixN<N, D>: Copy
[src]

impl<N: Clone + Scalar, D: Clone + Dim> Clone for Eigen<N, D> where
    DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, 
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<N: Debug + Scalar, D: Debug + Dim> Debug for Eigen<N, D> where
    DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, 
[src]

Auto Trait Implementations

impl<N, D> !Send for Eigen<N, D>

impl<N, D> !Sync for Eigen<N, D>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T

type Output = T

Should always be Self