Package org.ejml.dense.row.linsol.qr
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetQ()
boolean
Returns true if the input matrix is modifiedboolean
process
(FMatrixRMaj A, int numSingularValues, FMatrixRMaj nullspace) Finds the null space of A
-
Constructor Details
-
SolveNullSpaceQR_FDRM
public SolveNullSpaceQR_FDRM()
-
-
Method Details
-
process
Finds the null space of A- Specified by:
process
in interfaceSolveNullSpace<FMatrixRMaj>
- 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<FMatrixRMaj>
-
getQ
-