Class QRDecomposition_FDRB_to_FDRM
java.lang.Object
org.ejml.dense.row.decomposition.BaseDecomposition_FDRB_to_FDRM
org.ejml.dense.row.decomposition.qr.QRDecomposition_FDRB_to_FDRM
- All Implemented Interfaces:
DecompositionInterface<FMatrixRMaj>
,QRDecomposition<FMatrixRMaj>
@Generated("org.ejml.dense.row.decomposition.qr.QRDecomposition_DDRB_to_DDRM")
public class QRDecomposition_FDRB_to_FDRM
extends BaseDecomposition_FDRB_to_FDRM
implements QRDecomposition<FMatrixRMaj>
Wrapper that allows
QRDecomposition
(FMatrixRBlock) to be used
as a QRDecomposition
(FMatrixRMaj).-
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 TypeMethodDescriptiongetQ
(@Nullable FMatrixRMaj Q, boolean compact) Returns the Q matrix from the decomposition.getR
(@Nullable FMatrixRMaj R, boolean compact) Returns the R matrix from 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
-
QRDecomposition_FDRB_to_FDRM
public QRDecomposition_FDRB_to_FDRM()
-
-
Method Details
-
getQ
Description copied from interface:QRDecomposition
Returns the Q matrix from the decomposition. Should only be called after
DecompositionInterface.decompose(org.ejml.data.Matrix)
has been called.- Specified by:
getQ
in interfaceQRDecomposition<FMatrixRMaj>
- Parameters:
Q
- (Input) Storage for Q. Reshaped to correct size automatically. If null a new matrix is created.compact
- If true an m by n matrix is created, otherwise n by n.- Returns:
- The Q matrix.
-
getR
Description copied from interface:QRDecomposition
Returns the R matrix from the decomposition. Should only be called after
DecompositionInterface.decompose(org.ejml.data.Matrix)
has been.If setZeros is true then an n × m matrix is required and all the elements are set. If setZeros is false then the matrix must be at least m × m and only the upper triangular elements are set.
- Specified by:
getR
in interfaceQRDecomposition<FMatrixRMaj>
- Parameters:
R
- (Input) Storage for R. Reshaped to correct size automatically. If null a new matrix is created.compact
- If true only the upper triangular elements are set- Returns:
- The R matrix.
-