org.ejml.alg.dense.decomposition
Interface QRPDecomposition<T extends Matrix64F>

All Superinterfaces:
DecompositionInterface<T>, QRDecomposition<T>
All Known Implementing Classes:
QRColPivDecompositionHouseholderColumn

public interface QRPDecomposition<T extends Matrix64F>
extends QRDecomposition<T>

Similar to QRDecomposition but it can handle the rank deficient case by performing column pivots during the decomposition. The final decomposition has the following structure:
A*P=Q*R
where A is the original matrix, P is a pivot matrix, Q is an orthogonal matrix, and R is upper triangular.

Author:
Peter Abeles

Method Summary
 DenseMatrix64F getPivotMatrix(DenseMatrix64F P)
           
 int[] getPivots()
           
 int getRank()
          Returns the rank as determined by the algorithm.
 
Methods inherited from interface org.ejml.alg.dense.decomposition.QRDecomposition
getQ, getR
 
Methods inherited from interface org.ejml.alg.dense.decomposition.DecompositionInterface
decompose, inputModified
 

Method Detail

getRank

int getRank()
Returns the rank as determined by the algorithm. This is dependent upon a fixed threshold and might not be appropriate for some applications.

Returns:
Matrix's rank

getPivots

int[] getPivots()

getPivotMatrix

DenseMatrix64F getPivotMatrix(DenseMatrix64F P)


Copyright © 2012. All Rights Reserved.