Documentation of 'org.ejml.alg.dense.decomposition.qr.QRDecompositionHouseholderTran_D64' Java class
QRDecompositionHouseholderTran_D64
org.ejml.alg.dense.decomposition.qr

Class QRDecompositionHouseholderTran_D64

    • Constructor Detail

      • QRDecompositionHouseholderTran_D64

        public QRDecompositionHouseholderTran_D64()
    • Method Detail

      • setExpectedMaxSize

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

        public DenseMatrix64F getQR()
        Inner matrix that stores the decomposition
      • getQ

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

        public void applyQ(DenseMatrix64F A)
        A = Q*A
        Parameters:
        A - Matrix that is being multiplied by Q. Is modified.
      • applyTranQ

        public void applyTranQ(DenseMatrix64F A)
        A = QT*A
        Parameters:
        A - Matrix that is being multiplied by QT. Is modified.
      • decompose

        public boolean decompose(DenseMatrix64F 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<DenseMatrix64F>
        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.