|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectno.uib.cipr.matrix.QRP
public class QRP
Computes QR decompositions with column pivoting:
P*A = Q*R where
A(m,n), Q(m,m), and R(m,n), more generally:
P*A = [Q1 Q2] * [R11, R12; 0 R22] and R22 elements are
negligible.
| Constructor Summary | |
|---|---|
QRP(int m,
int n)
Constructs an empty QR decomposition |
|
| Method Summary | |
|---|---|
QRP |
factor(Matrix A)
Executes a QR factorization for the given matrix. |
static QRP |
factorize(Matrix A)
Convenience method to compute a QR decomposition |
Matrix |
getP()
Returns the column pivoting matrix. |
int[] |
getPVector()
Returns the column pivoting vector. |
DenseMatrix |
getQ()
Returns the orthogonal matrix |
DenseMatrix |
getR()
Returns the upper triangular factor |
int |
getRank()
Returns the rank of the factored matrix |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QRP(int m,
int n)
m - the number of rows.n - the number of columns.| Method Detail |
|---|
public static QRP factorize(Matrix A)
A - the matrix to decompose (not modified)
public QRP factor(Matrix A)
A - the matrix to be factored (not modified)
public DenseMatrix getR()
public DenseMatrix getQ()
public int[] getPVector()
getP().
public Matrix getP()
getPVector().
public int getRank()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||