Class QRDecomposition_B64_to_D64
- java.lang.Object
-
- org.ejml.alg.dense.decomposition.BaseDecomposition_B64_to_D64
-
- org.ejml.alg.dense.decomposition.qr.QRDecomposition_B64_to_D64
-
- All Implemented Interfaces:
- DecompositionInterface<DenseMatrix64F>, QRDecomposition<DenseMatrix64F>
public class QRDecomposition_B64_to_D64 extends BaseDecomposition_B64_to_D64 implements QRDecomposition<DenseMatrix64F>
Wrapper that allowsQRDecomposition(BlockMatrix64F) to be used as aQRDecomposition(DenseMatrix64F).
-
-
Constructor Summary
Constructors Constructor and Description QRDecomposition_B64_to_D64()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DenseMatrix64FgetQ(DenseMatrix64F Q, boolean compact)Returns the Q matrix from the decomposition.DenseMatrix64FgetR(DenseMatrix64F R, boolean compact)Returns the R matrix from the decomposition.-
Methods inherited from class org.ejml.alg.dense.decomposition.BaseDecomposition_B64_to_D64
convertBlockToRow, decompose, inputModified
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ejml.interfaces.decomposition.DecompositionInterface
decompose, inputModified
-
-
-
-
Method Detail
-
getQ
public DenseMatrix64F getQ(DenseMatrix64F Q, boolean compact)
Description copied from interface:QRDecompositionReturns the Q matrix from the decomposition. Should only be called after
DecompositionInterface.decompose(org.ejml.data.Matrix)has been called.If parameter Q is not null, then that matrix is used to store the Q matrix. Otherwise a new matrix is created.
- Specified by:
getQin interfaceQRDecomposition<DenseMatrix64F>- Parameters:
Q- If not null then the Q matrix is written to it. Modified.compact- If true an m by n matrix is created, otherwise n by n.- Returns:
- The Q matrix.
-
getR
public DenseMatrix64F getR(DenseMatrix64F R, boolean compact)
Description copied from interface:QRDecompositionReturns 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.
If parameter R is not null, then that matrix is used to store the R matrix. Otherwise a new matrix is created.
- Specified by:
getRin interfaceQRDecomposition<DenseMatrix64F>- Parameters:
R- If not null then the R matrix is written to it. Modified.compact- If true only the upper triangular elements are set- Returns:
- The R matrix.
-
-
DMelt 3.0 © DataMelt by jWork.ORG