Class SolveNullSpaceQR_FDRM

  • All Implemented Interfaces:
    org.ejml.interfaces.SolveNullSpace<org.ejml.data.FMatrixRMaj>

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.ejml.data.FMatrixRMaj getQ()  
      boolean inputModified()  
      boolean process​(org.ejml.data.FMatrixRMaj A, int numSingularValues, org.ejml.data.FMatrixRMaj 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 Detail

      • SolveNullSpaceQR_FDRM

        public SolveNullSpaceQR_FDRM()
    • Method Detail

      • process

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

        public org.ejml.data.FMatrixRMaj getQ()