|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.matrix.doubles.factorization.qr.QR
public class QR
QR decomposition of a matrix decomposes an m x n matrix A so that A = Q * R.
| Constructor Summary | |
|---|---|
QR(Matrix A)
Run the QR decomposition on a matrix. |
|
QR(Matrix A,
double epsilon)
Run the QR decomposition on a matrix. |
|
| Method Summary | |
|---|---|
PermutationMatrix |
P()
Get P, the pivoting matrix in the QR decomposition. |
Matrix |
Q()
Get the orthogonal Q matrix in the QR decomposition, A = QR. |
UpperTriangularMatrix |
R()
Get the upper triangular matrix R in the QR decomposition, A = QR. |
int |
rank()
Get the numerical rank of A as computed by the QR decomposition. |
Matrix |
squareQ()
Get the square Q matrix. |
Matrix |
tallR()
Get the tall R matrix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QR(Matrix A,
double epsilon)
A - a matrixepsilon - a precision parameter: when a number |x| ≤ ε, it is considered 0public QR(Matrix A)
A - a matrix| Method Detail |
|---|
public PermutationMatrix P()
QRDecomposition
P in interface QRDecompositionpublic Matrix Q()
QRDecomposition
Q in interface QRDecompositionpublic UpperTriangularMatrix R()
QRDecomposition
R in interface QRDecompositionpublic int rank()
QRDecomposition
rank in interface QRDecompositionpublic Matrix squareQ()
QRDecomposition
squareQ in interface QRDecompositionpublic Matrix tallR()
QRDecomposition
tallR in interface QRDecomposition
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||