Class SolveNullSpaceQR_FDRM

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

@Generated("org.ejml.dense.row.linsol.qr.SolveNullSpaceQR_DDRM") public class SolveNullSpaceQR_FDRM extends Object implements SolveNullSpace<FMatrixRMaj>

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_FDRM

      public SolveNullSpaceQR_FDRM()
  • Method Details

    • process

      public boolean process(FMatrixRMaj A, int numSingularValues, FMatrixRMaj nullspace)
      Finds the null space of A
      Specified by:
      process in interface SolveNullSpace<FMatrixRMaj>
      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<FMatrixRMaj>
    • getQ

      public FMatrixRMaj getQ()