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