Struct nalgebra_lapack::Eigen
[−]
[src]
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 + Real, D: Dim> Eigen<N, D> where
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>, [src]
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>,
pub fn new(
m: MatrixN<N, D>,
left_eigenvectors: bool,
eigenvectors: bool
) -> Option<Eigen<N, D>>[src]
m: MatrixN<N, D>,
left_eigenvectors: bool,
eigenvectors: bool
) -> Option<Eigen<N, D>>
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]
DefaultAllocator: Allocator<Complex<N>, D>,
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: Clone + Scalar, D: Clone + Dim> Clone for Eigen<N, D> where
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, [src]
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>,
fn clone(&self) -> Eigen<N, D>[src]
Returns a copy of the value. Read more
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]
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>,
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
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]
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>,
VectorN<N, D>: Copy,
MatrixN<N, D>: Copy,