Struct nalgebra::linalg::SymmetricTridiagonal
[−]
[src]
pub struct SymmetricTridiagonal<N: Real, D: DimSub<U1>> where
DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimDiff<D, U1>>, { /* fields omitted */ }
Tridiagonalization of a symmetric matrix.
Methods
impl<N: Real, D: DimSub<U1>> SymmetricTridiagonal<N, D> where
DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimDiff<D, U1>>,
[src]
DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimDiff<D, U1>>,
fn new(m: MatrixN<N, D>) -> Self
[src]
Computes the tridiagonalization of the symmetric matrix m
.
Only the lower-triangular part (including the diagonal) of m
is read.
fn unpack(self) -> (MatrixN<N, D>, VectorN<N, D>, VectorN<N, DimDiff<D, U1>>) where
DefaultAllocator: Allocator<N, D>,
[src]
DefaultAllocator: Allocator<N, D>,
Retrieve the orthogonal transformation, diagonal, and off diagonal elements of this decomposition.
fn unpack_tridiagonal(self) -> (VectorN<N, D>, VectorN<N, DimDiff<D, U1>>) where
DefaultAllocator: Allocator<N, D>,
[src]
DefaultAllocator: Allocator<N, D>,
Retrieve the diagonal, and off diagonal elements of this decomposition.
fn diagonal(&self) -> VectorN<N, D> where
DefaultAllocator: Allocator<N, D>,
[src]
DefaultAllocator: Allocator<N, D>,
The diagonal components of this decomposition.
fn off_diagonal(&self) -> &VectorN<N, DimDiff<D, U1>> where
DefaultAllocator: Allocator<N, D>,
[src]
DefaultAllocator: Allocator<N, D>,
The off-diagonal components of this decomposition.
fn q(&self) -> MatrixN<N, D>
[src]
Computes the orthogonal matrix Q
of this decomposition.
fn recompose(self) -> MatrixN<N, D>
[src]
Recomputes the original symmetric matrix.
Trait Implementations
impl<N: Clone + Real, D: Clone + DimSub<U1>> Clone for SymmetricTridiagonal<N, D> where
DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimDiff<D, U1>>,
[src]
DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimDiff<D, U1>>,
fn clone(&self) -> SymmetricTridiagonal<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 + Real, D: Debug + DimSub<U1>> Debug for SymmetricTridiagonal<N, D> where
DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimDiff<D, U1>>,
[src]
DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimDiff<D, U1>>,
impl<N: Real, D: DimSub<U1>> Copy for SymmetricTridiagonal<N, D> where
DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimDiff<D, U1>>,
MatrixN<N, D>: Copy,
VectorN<N, DimDiff<D, U1>>: Copy,
[src]
DefaultAllocator: Allocator<N, D, D> + Allocator<N, DimDiff<D, U1>>,
MatrixN<N, D>: Copy,
VectorN<N, DimDiff<D, U1>>: Copy,