Package org.ejml.dense.row.linsol.qr
Class SolveNullSpaceQRP_DDRM
java.lang.Object
org.ejml.dense.row.linsol.qr.SolveNullSpaceQRP_DDRM
- All Implemented Interfaces:
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetQ()
boolean
Returns true if the input matrix is modifiedboolean
process
(DMatrixRMaj A, int numSingularValues, DMatrixRMaj nullspace) Finds the null space of A
-
Constructor Details
-
SolveNullSpaceQRP_DDRM
public SolveNullSpaceQRP_DDRM()
-
-
Method Details
-
process
Finds the null space of A- Specified by:
process
in interfaceSolveNullSpace<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()Description copied from interface:SolveNullSpace
Returns true if the input matrix is modified- Specified by:
inputModified
in interfaceSolveNullSpace<DMatrixRMaj>
-
getQ
-