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).
  • Constructor Details

    • QRDecomposition_FDRB_to_FDRM

      public QRDecomposition_FDRB_to_FDRM()
  • Method Details

    • getQ

      public FMatrixRMaj getQ(@Nullable @Nullable FMatrixRMaj 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<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

      public FMatrixRMaj getR(@Nullable @Nullable FMatrixRMaj 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<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.