public class QR extends Object
| Constructor and Description |
|---|
QR(int m,
int n)
Constructs an empty QR decomposition
|
| Modifier and Type | Method and Description |
|---|---|
QR |
factor(DenseMatrix A)
Computes an orthogonal decomposition
|
static QR |
factorize(Matrix A)
Convenience method to compute a QR decomposition
|
DenseMatrix |
getQ()
Returns the orthogonal part of the factorization
|
UpperTriangDenseMatrix |
getR()
Returns the upper triangular factor
|
public QR(int m,
int n)
m - Number of rows. Must be larger than or equal the number of
columnsn - Number of columnspublic static QR factorize(Matrix A)
A - Matrix to decompose. Not modifiedpublic QR factor(DenseMatrix A)
A - Matrix to decompose. Overwritten on exit. Pass a copy to avoid
thispublic UpperTriangDenseMatrix getR()
public DenseMatrix getQ()
Copyright © 2015. All Rights Reserved.