org.ejml.interfaces.decomposition
Interface TridiagonalSimilarDecomposition<MatrixType extends Matrix>
-
- All Superinterfaces:
- DecompositionInterface<MatrixType>
- All Known Implementing Classes:
- TridiagonalDecomposition_B64_to_D64, TridiagonalDecompositionHouseholder_B64, TridiagonalDecompositionHouseholder_D64
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidgetDiagonal(double[] diag, double[] off)Extracts the diagonal and off diagonal elements of the decomposed tridiagonal matrix.MatrixTypegetQ(MatrixType Q, boolean transposed)An orthogonal matrix that has the following property: T = QTAQMatrixTypegetT(MatrixType T)Extracts the tridiagonal matrix found in the decomposition.-
Methods inherited from interface org.ejml.interfaces.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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG