Package org.ejml.dense.row.linsol.qr
Class SolveNullSpaceQRP_DDRM
java.lang.Object
org.ejml.dense.row.linsol.qr.SolveNullSpaceQRP_DDRM
- All Implemented Interfaces:
org.ejml.interfaces.SolveNullSpace<org.ejml.data.DMatrixRMaj>
public class SolveNullSpaceQRP_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.=
Solves for AT=QR and the last column in Q is the null space.-
Constructor Summary
Constructors Constructor Description SolveNullSpaceQRP_DDRM() -
Method Summary
Modifier and Type Method Description org.ejml.data.DMatrixRMajgetQ()booleaninputModified()booleanprocess(org.ejml.data.DMatrixRMaj A, int numSingularValues, org.ejml.data.DMatrixRMaj nullspace)Finds the null space of A
-
Constructor Details
-
SolveNullSpaceQRP_DDRM
public SolveNullSpaceQRP_DDRM()
-
-
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:
processin interfaceorg.ejml.interfaces.SolveNullSpace<org.ejml.data.DMatrixRMaj>- Parameters:
A- (Input) Matrix. ModifiednumSingularValues- Number of singular valuesnullspace- Storage for null-space- Returns:
- true if successful or false if it failed
-
inputModified
public boolean inputModified()- Specified by:
inputModifiedin interfaceorg.ejml.interfaces.SolveNullSpace<org.ejml.data.DMatrixRMaj>
-
getQ
public org.ejml.data.DMatrixRMaj getQ()
-