Documentation of 'org.ejml.alg.dense.decompose.qr.QRDecompositionHouseholderColumn_CD64' Java class
QRDecompositionHouseholderColumn_CD64
org.ejml.alg.dense.decompose.qr

Class QRDecompositionHouseholderColumn_CD64

    • Constructor Detail

      • QRDecompositionHouseholderColumn_CD64

        public QRDecompositionHouseholderColumn_CD64()
    • Method Detail

      • setExpectedMaxSize

        public void setExpectedMaxSize(int numRows,
                                       int numCols)
      • getQR

        public double[][] getQR()
        Returns the combined QR matrix in a 2D array format that is column major.
        Returns:
        The QR matrix in a 2D matrix column major format. [ column ][ row ]
      • getQ

        public CDenseMatrix64F getQ(CDenseMatrix64F Q,
                                    boolean compact)
        Computes the Q matrix from the imformation stored in the QR matrix. This operation requires about 4(m2n-mn2+n3/3) flops.
        Specified by:
        getQ in interface QRDecomposition<CDenseMatrix64F>
        Parameters:
        Q - The orthogonal Q matrix.
        compact - If true an m by n matrix is created, otherwise n by n.
        Returns:
        The Q matrix.
      • getR

        public CDenseMatrix64F getR(CDenseMatrix64F R,
                                    boolean compact)
        Returns an upper triangular matrix which is the R in the QR decomposition. If compact then the input expected to be size = [min(rows,cols) , numCols] otherwise size = [numRows,numCols].
        Specified by:
        getR in interface QRDecomposition<CDenseMatrix64F>
        Parameters:
        R - Storage for upper triangular matrix.
        compact - If true then a compact matrix is expected.
        Returns:
        The R matrix.
      • decompose

        public boolean decompose(CDenseMatrix64F A)

        To decompose the matrix 'A' it must have full rank. 'A' is a 'm' by 'n' matrix. It requires about 2n*m2-2m2/3 flops.

        The matrix provided here can be of different dimension than the one specified in the constructor. It just has to be smaller than or equal to it.

        Specified by:
        decompose in interface DecompositionInterface<CDenseMatrix64F>
        Parameters:
        A - The matrix which is being decomposed. Modification is implementation dependent.
        Returns:
        Returns if it was able to decompose the matrix.
      • getGammas

        public double[] getGammas()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.