[−][src]Struct nalgebra_lapack::SymmetricEigen
Eigendecomposition of a real square symmetric matrix with real eigenvalues.
Fields
eigenvectors: MatrixN<N, D>The eigenvectors of the decomposed matrix.
eigenvalues: VectorN<N, D>The unsorted eigenvalues of the decomposed matrix.
Methods
impl<N: SymmetricEigenScalar + RealField, D: Dim> SymmetricEigen<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>) -> Self[src]
Computes the eigenvalues and eigenvectors of the symmetric matrix m.
Only the lower-triangular part of m is read. If eigenvectors is false then, the
eigenvectors are not computed explicitly. Panics if the method did not converge.
pub fn try_new(m: MatrixN<N, D>) -> Option<Self>[src]
Computes the eigenvalues and eigenvectors of the symmetric matrix m.
Only the lower-triangular part of m is read. If eigenvectors is false then, the
eigenvectors are not computed explicitly. Returns None if the method did not converge.
pub fn eigenvalues(m: MatrixN<N, D>) -> VectorN<N, D>[src]
Computes only the eigenvalues of the input matrix.
Panics if the method does not converge.
pub fn try_eigenvalues(m: MatrixN<N, D>) -> Option<VectorN<N, D>>[src]
Computes only the eigenvalues of the input matrix.
Returns None if the method does not converge.
pub fn determinant(&self) -> N[src]
The determinant of the decomposed matrix.
pub fn recompose(&self) -> MatrixN<N, D>[src]
Rebuild the original matrix.
This is useful if some of the eigenvalues have been manually modified.
Trait Implementations
impl<N: Clone + Scalar, D: Clone + Dim> Clone for SymmetricEigen<N, D> where
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, [src]
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>,
fn clone(&self) -> SymmetricEigen<N, D>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<N: Scalar, D: Dim> Copy for SymmetricEigen<N, D> where
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>,
MatrixN<N, D>: Copy,
VectorN<N, D>: Copy, [src]
DefaultAllocator: Allocator<N, D, D> + Allocator<N, D>,
MatrixN<N, D>: Copy,
VectorN<N, D>: Copy,
impl<N: Debug + Scalar, D: Debug + Dim> Debug for SymmetricEigen<N, D> where
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, [src]
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>,
Auto Trait Implementations
impl<N, D> !Send for SymmetricEigen<N, D>
impl<N, D> !Sync for SymmetricEigen<N, D>
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>, [src]
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>[src]
fn is_in_subset(&self) -> bool[src]
unsafe fn to_subset_unchecked(&self) -> SS[src]
fn from_subset(element: &SS) -> SP[src]
impl<T> Same for T
type Output = T
Should always be Self