Class SolveNullSpaceQRP_DDRM

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

public class SolveNullSpaceQRP_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.=

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

    • SolveNullSpaceQRP_DDRM

      public SolveNullSpaceQRP_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()