public interface TridiagonalSimilarDecomposition<MatrixType extends Matrix> 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.
| Modifier and Type | Method and Description |
|---|---|
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.
|
decompose, inputModifiedMatrixType getT(MatrixType T)
T - If not null then the results will be stored here. Otherwise a new matrix will be created.MatrixType getQ(MatrixType Q, boolean transposed)
Q - If not null then the results will be stored here. Otherwise a new matrix will be created.void getDiagonal(double[] diag,
double[] off)
diag - Diagonal elements. Modified.off - off diagonal elements. Modified.