public class RQ extends Object
| Constructor and Description |
|---|
RQ(int m,
int n)
Constructs an empty RQ decomposition
|
| Modifier and Type | Method and Description |
|---|---|
RQ |
factor(DenseMatrix A)
Computes an orthogonal decomposition
|
static RQ |
factorize(Matrix A)
Convenience method to compute an RQ decomposition
|
DenseMatrix |
getQ()
Returns the orthogonal part of the factorization
|
UpperTriangDenseMatrix |
getR()
Returns the upper triangular factor
|
public RQ(int m,
int n)
m - Number of rowsn - Number of columns. Must be larger than or equal the number of
rowspublic static RQ factorize(Matrix A)
A - Matrix to decompose. Not modifiedpublic RQ 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.