Class SolveNullSpaceQR_DDRM

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

public class SolveNullSpaceQR_DDRM
extends java.lang.Object
implements org.ejml.interfaces.SolveNullSpace<org.ejml.data.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 Summary

    Constructors 
    Constructor Description
    SolveNullSpaceQR_DDRM()  
  • Method Summary

    Modifier and Type Method Description
    org.ejml.data.DMatrixRMaj getQ()  
    boolean inputModified()  
    boolean process​(org.ejml.data.DMatrixRMaj A, int numSingularValues, org.ejml.data.DMatrixRMaj nullspace)
    Finds the null space of A

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • process

      public boolean process​(org.ejml.data.DMatrixRMaj A, int numSingularValues, org.ejml.data.DMatrixRMaj nullspace)
      Finds the null space of A
      Specified by:
      process in interface org.ejml.interfaces.SolveNullSpace<org.ejml.data.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()
      Specified by:
      inputModified in interface org.ejml.interfaces.SolveNullSpace<org.ejml.data.DMatrixRMaj>
    • getQ

      public org.ejml.data.DMatrixRMaj getQ()