Class QRDecomposition_DDRB_to_DDRM

java.lang.Object
org.ejml.dense.row.decomposition.BaseDecomposition_DDRB_to_DDRM
org.ejml.dense.row.decomposition.qr.QRDecomposition_DDRB_to_DDRM
All Implemented Interfaces:
DecompositionInterface<DMatrixRMaj>, QRDecomposition<DMatrixRMaj>

public class QRDecomposition_DDRB_to_DDRM extends BaseDecomposition_DDRB_to_DDRM implements QRDecomposition<DMatrixRMaj>
Wrapper that allows QRDecomposition(DMatrixRBlock) to be used as a QRDecomposition(DMatrixRMaj).
  • Constructor Details

    • QRDecomposition_DDRB_to_DDRM

      public QRDecomposition_DDRB_to_DDRM()
  • Method Details

    • getQ

      public DMatrixRMaj getQ(@Nullable @Nullable DMatrixRMaj Q, boolean compact)
      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 interface QRDecomposition<DMatrixRMaj>
      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

      public DMatrixRMaj getR(@Nullable @Nullable DMatrixRMaj R, boolean compact)
      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 interface QRDecomposition<DMatrixRMaj>
      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.