Class TridiagonalDecomposition_DDRB_to_DDRM
java.lang.Object
org.ejml.dense.row.decomposition.BaseDecomposition_DDRB_to_DDRM
org.ejml.dense.row.decomposition.hessenberg.TridiagonalDecomposition_DDRB_to_DDRM
- All Implemented Interfaces:
DecompositionInterface<DMatrixRMaj>
,TridiagonalSimilarDecomposition<DMatrixRMaj>
,TridiagonalSimilarDecomposition_F64<DMatrixRMaj>
public class TridiagonalDecomposition_DDRB_to_DDRM
extends BaseDecomposition_DDRB_to_DDRM
implements TridiagonalSimilarDecomposition_F64<DMatrixRMaj>
Wrapper around a block implementation of TridiagonalSimilarDecomposition_F64
-
Field Summary
Fields inherited from class org.ejml.dense.row.decomposition.BaseDecomposition_DDRB_to_DDRM
Ablock, alg, blockLength, workspace
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getDiagonal
(double[] diag, double[] off) Extracts the diagonal and off diagonal elements of the decomposed tridiagonal matrix.getQ
(@Nullable DMatrixRMaj Q, boolean transposed) An orthogonal matrix that has the following property: T = QHAQgetT
(@Nullable DMatrixRMaj T) Extracts the tridiagonal matrix found in the decomposition.Methods inherited from class org.ejml.dense.row.decomposition.BaseDecomposition_DDRB_to_DDRM
convertBlockToRow, decompose, inputModified
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ejml.interfaces.decomposition.DecompositionInterface
decompose, inputModified
-
Constructor Details
-
TridiagonalDecomposition_DDRB_to_DDRM
public TridiagonalDecomposition_DDRB_to_DDRM() -
TridiagonalDecomposition_DDRB_to_DDRM
public TridiagonalDecomposition_DDRB_to_DDRM(int blockSize)
-
-
Method Details
-
getT
Description copied from interface:TridiagonalSimilarDecomposition
Extracts the tridiagonal matrix found in the decomposition.- Specified by:
getT
in interfaceTridiagonalSimilarDecomposition<DMatrixRMaj>
- 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
Description copied from interface:TridiagonalSimilarDecomposition
An orthogonal matrix that has the following property: T = QHAQ- Specified by:
getQ
in interfaceTridiagonalSimilarDecomposition<DMatrixRMaj>
- Parameters:
Q
- If not null then the results will be stored here. Otherwise a new matrix will be created.transposed
- If true then the transpose (real) or conjugate transpose (complex) of Q is returned.- Returns:
- The extracted Q matrix.
-
getDiagonal
public void getDiagonal(double[] diag, double[] off) Description copied from interface:TridiagonalSimilarDecomposition_F64
Extracts the diagonal and off diagonal elements of the decomposed tridiagonal matrix. Since it is symmetric only one off diagonal array is returned.- Specified by:
getDiagonal
in interfaceTridiagonalSimilarDecomposition_F64<DMatrixRMaj>
- Parameters:
diag
- Diagonal elements. Modified.off
- off diagonal elements. Modified.
-