Trait nalgebra_lapack::HasEigensystem
[−]
[src]
pub trait HasEigensystem { type InnerType; fn eigensystem(self) -> NalgebraLapackResult<(DVector<Self::InnerType>, DMatrix<Self::InnerType>)>; }
A type for which eigenvalues and eigenvectors can be computed.
Associated Types
type InnerType
type of the internal representation (e.g. f32
)
Required Methods
fn eigensystem(self) -> NalgebraLapackResult<(DVector<Self::InnerType>, DMatrix<Self::InnerType>)>
eigensystem
computes eigenvalues and right eigenvectors
Because the input matrix may be overwritten or destroyed, it is consumed.
Returns
eigen_values
- The eigenvalues, normalized to have Euclidean norm equal to 1 and largest component real.right_eigen_vectors
- The right eigenvectors. They are contained as columns of this matrix.