Struct nalgebra_lapack::RealSchur
[−]
[src]
pub struct RealSchur<N: Scalar, D: Dim> where
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>, { /* fields omitted */ }
Eigendecomposition of a real square matrix with real eigenvalues.
Methods
impl<N: RealSchurScalar + Real, D: Dim> RealSchur<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 real Schur foorm of the matrix m
.
Panics if the method did not converge.
pub fn try_new(m: MatrixN<N, D>) -> Option<Self>
[src]
Computes the eigenvalues and real Schur foorm of the matrix m
.
Returns None
if the method did not converge.
pub fn unpack(self) -> (MatrixN<N, D>, MatrixN<N, D>)
[src]
Retrieves the unitary matrix Q
and the upper-quasitriangular matrix T
such that the
decomposed matrix equals Q * T * Q.transpose()
.
pub fn eigenvalues(&self) -> Option<VectorN<N, D>>
[src]
Computes the real eigenvalues of the decomposed matrix.
Return None
if some eigenvalues are complex.
pub fn complex_eigenvalues(&self) -> VectorN<Complex<N>, D> where
DefaultAllocator: Allocator<Complex<N>, D>,
[src]
DefaultAllocator: Allocator<Complex<N>, D>,
Computes the complex eigenvalues of the decomposed matrix.
Trait Implementations
impl<N: Clone + Scalar, D: Clone + Dim> Clone for RealSchur<N, D> where
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>,
[src]
DefaultAllocator: Allocator<N, D> + Allocator<N, D, D>,
fn clone(&self) -> RealSchur<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 RealSchur<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 RealSchur<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,