Struct ggez::graphics::na::RealSchur
[−]
[src]
pub struct RealSchur<N, D> where
D: Dim,
N: Real,
DefaultAllocator: Allocator<N, D, D>, { /* fields omitted */ }
Real Schur decomposition of a square matrix.
Methods
impl<N, D> RealSchur<N, D> where
D: Dim + DimSub<U1>,
N: Real,
ShapeConstraint: DimEq<Dynamic, <D as DimSub<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimSub<U1>>::Output>,
DefaultAllocator: Allocator<N, <D as DimSub<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
[src]
D: Dim + DimSub<U1>,
N: Real,
ShapeConstraint: DimEq<Dynamic, <D as DimSub<U1>>::Output>,
DefaultAllocator: Allocator<N, D, <D as DimSub<U1>>::Output>,
DefaultAllocator: Allocator<N, <D as DimSub<U1>>::Output, U1>,
DefaultAllocator: Allocator<N, D, D>,
DefaultAllocator: Allocator<N, D, U1>,
fn new(
m: Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> RealSchur<N, D>
[src]
m: Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>
) -> RealSchur<N, D>
Computes the Schur decomposition of a square matrix.
fn try_new(
m: Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>,
eps: N,
max_niter: usize
) -> Option<RealSchur<N, D>>
[src]
m: Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>,
eps: N,
max_niter: usize
) -> Option<RealSchur<N, D>>
Attempts to compute the Schur decomposition of a square matrix.
If only eigenvalues are needed, it is more efficient to call the matrix method
.eigenvalues()
instead.
Arguments
eps
− tolerence used to determine when a value converged to 0.max_niter
− maximum total number of iterations performed by the algorithm. If this number of iteration is exceeded,None
is returned. Ifniter == 0
, then the algorithm continues indefinitely until convergence.
fn unpack(
self
) -> (Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>, Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>)
[src]
self
) -> (Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>, Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>)
Retrieves the unitary matrix Q
and the upper-quasitriangular matrix T
such that the
decomposed matrix equals Q * T * Q.transpose()
.
fn eigenvalues(
&self
) -> Option<Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>>
[src]
&self
) -> Option<Matrix<N, D, U1, <DefaultAllocator as Allocator<N, D, U1>>::Buffer>>
Computes the real eigenvalues of the decomposed matrix.
Return None
if some eigenvalues are complex.
fn complex_eigenvalues(
&self
) -> Matrix<Complex<N>, D, U1, <DefaultAllocator as Allocator<Complex<N>, D, U1>>::Buffer> where
DefaultAllocator: Allocator<Complex<N>, D, U1>,
[src]
&self
) -> Matrix<Complex<N>, D, U1, <DefaultAllocator as Allocator<Complex<N>, D, U1>>::Buffer> where
DefaultAllocator: Allocator<Complex<N>, D, U1>,
Computes the complex eigenvalues of the decomposed matrix.
Trait Implementations
impl<N, D> Copy for RealSchur<N, D> where
D: Dim,
N: Real,
DefaultAllocator: Allocator<N, D, D>,
Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>: Copy,
[src]
D: Dim,
N: Real,
DefaultAllocator: Allocator<N, D, D>,
Matrix<N, D, D, <DefaultAllocator as Allocator<N, D, D>>::Buffer>: Copy,
impl<N, D> Clone for RealSchur<N, D> where
D: Dim + Clone,
N: Clone + Real,
DefaultAllocator: Allocator<N, D, D>,
[src]
D: Dim + Clone,
N: Clone + Real,
DefaultAllocator: 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, D> Debug for RealSchur<N, D> where
D: Dim + Debug,
N: Debug + Real,
DefaultAllocator: Allocator<N, D, D>,
[src]
D: Dim + Debug,
N: Debug + Real,
DefaultAllocator: Allocator<N, D, D>,