Class TridiagonalDecomposition_FDRB_to_FDRM
java.lang.Object
org.ejml.dense.row.decomposition.BaseDecomposition_FDRB_to_FDRM
org.ejml.dense.row.decomposition.hessenberg.TridiagonalDecomposition_FDRB_to_FDRM
- All Implemented Interfaces:
DecompositionInterface<FMatrixRMaj>
,TridiagonalSimilarDecomposition<FMatrixRMaj>
,TridiagonalSimilarDecomposition_F32<FMatrixRMaj>
@Generated("org.ejml.dense.row.decomposition.hessenberg.TridiagonalDecomposition_DDRB_to_DDRM")
public class TridiagonalDecomposition_FDRB_to_FDRM
extends BaseDecomposition_FDRB_to_FDRM
implements TridiagonalSimilarDecomposition_F32<FMatrixRMaj>
Wrapper around a block implementation of TridiagonalSimilarDecomposition_F32
-
Field Summary
Fields inherited from class org.ejml.dense.row.decomposition.BaseDecomposition_FDRB_to_FDRM
Ablock, alg, blockLength, workspace
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getDiagonal
(float[] diag, float[] off) Extracts the diagonal and off diagonal elements of the decomposed tridiagonal matrix.getQ
(@Nullable FMatrixRMaj Q, boolean transposed) An orthogonal matrix that has the following property: T = QHAQgetT
(@Nullable FMatrixRMaj T) Extracts the tridiagonal matrix found in the decomposition.Methods inherited from class org.ejml.dense.row.decomposition.BaseDecomposition_FDRB_to_FDRM
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_FDRB_to_FDRM
public TridiagonalDecomposition_FDRB_to_FDRM() -
TridiagonalDecomposition_FDRB_to_FDRM
public TridiagonalDecomposition_FDRB_to_FDRM(int blockSize)
-
-
Method Details
-
getT
Description copied from interface:TridiagonalSimilarDecomposition
Extracts the tridiagonal matrix found in the decomposition.- Specified by:
getT
in interfaceTridiagonalSimilarDecomposition<FMatrixRMaj>
- 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<FMatrixRMaj>
- 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(float[] diag, float[] off) Description copied from interface:TridiagonalSimilarDecomposition_F32
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_F32<FMatrixRMaj>
- Parameters:
diag
- Diagonal elements. Modified.off
- off diagonal elements. Modified.
-