Class SolveNullSpaceQR_DDRM

java.lang.Object
org.ejml.dense.row.linsol.qr.SolveNullSpaceQR_DDRM
All Implemented Interfaces:
SolveNullSpace<DMatrixRMaj>

public class SolveNullSpaceQR_DDRM extends Object implements SolveNullSpace<DMatrixRMaj>

Uses QR decomposition to find the null-space for a matrix of any shape if the number of singular values is known. WARNING: This only uses the first several rows in the input matrix. The rest are ignored.

Solves for AT=QR and the last column in Q is the null space.
  • Constructor Details

    • SolveNullSpaceQR_DDRM

      public SolveNullSpaceQR_DDRM()
  • Method Details

    • process

      public boolean process(DMatrixRMaj A, int numSingularValues, DMatrixRMaj nullspace)
      Finds the null space of A
      Specified by:
      process in interface SolveNullSpace<DMatrixRMaj>
      Parameters:
      A - (Input) Matrix. Modified
      numSingularValues - Number of singular values
      nullspace - Storage for null-space
      Returns:
      true if successful or false if it failed
    • inputModified

      public boolean inputModified()
      Description copied from interface: SolveNullSpace
      Returns true if the input matrix is modified
      Specified by:
      inputModified in interface SolveNullSpace<DMatrixRMaj>
    • getQ

      public DMatrixRMaj getQ()