org.ejml.alg.dense.decomposition.hessenberg
Interface TridiagonalSimilarDecomposition<MatrixType extends Matrix64F>

All Superinterfaces:
DecompositionInterface<MatrixType>
All Known Implementing Classes:
TridiagonalDecompositionBlock, TridiagonalDecompositionBlockHouseholder, TridiagonalDecompositionHouseholder

public interface TridiagonalSimilarDecomposition<MatrixType extends Matrix64F>
extends DecompositionInterface<MatrixType>

Finds the decomposition of a matrix in the form of:

A = O*T*OT

where A is a symmetric m by m matrix, O is an orthogonal matrix, and T is a tridiagonal matrix.

Author:
Peter Abeles

Method Summary
 void getDiagonal(double[] diag, double[] off)
          Extracts the diagonal and off diagonal elements of the decomposed tridiagonal matrix.
 MatrixType getQ(MatrixType Q, boolean transposed)
          An orthogonal matrix that has the following property: T = QTAQ
 MatrixType getT(MatrixType T)
          Extracts the tridiagonal matrix found in the decomposition.
 
Methods inherited from interface org.ejml.alg.dense.decomposition.DecompositionInterface
decompose, inputModified
 

Method Detail

getT

MatrixType getT(MatrixType T)
Extracts the tridiagonal matrix found in the decomposition.

Parameters:
T - If not null then the results will be stored here. Otherwise a new matrix will be created.
Returns:
The extracted T matrix.

getQ

MatrixType getQ(MatrixType Q,
                boolean transposed)
An orthogonal matrix that has the following property: T = QTAQ

Parameters:
Q - If not null then the results will be stored here. Otherwise a new matrix will be created.
Returns:
The extracted Q matrix.

getDiagonal

void getDiagonal(double[] diag,
                 double[] off)
Extracts the diagonal and off diagonal elements of the decomposed tridiagonal matrix. Since it is symmetric only one off diagonal array is returned.

Parameters:
diag - Diagonal elements. Modified.
off - off diagonal elements. Modified.


Copyright © 2012. All Rights Reserved.