Package no.uib.cipr.matrix
Class QL
java.lang.Object
no.uib.cipr.matrix.QL
Computes QL decompositions
-
Constructor Details
-
QL
public QL(int m, int n) Constructs an empty QL decomposition- Parameters:
m
- Number of rows. Must be larger than or equal the number of columnsn
- Number of columns
-
-
Method Details
-
factorize
Convenience method to compute a QL decomposition- Parameters:
A
- Matrix to decompose. Not modified- Returns:
- Newly allocated decomposition
-
factor
Computes an orthogonal decomposition- Parameters:
A
- Matrix to decompose. Overwritten on exit. Pass a copy to avoid this- Returns:
- The current decomposition
-
getL
Returns the lower triangular factor -
getQ
Returns the orthogonal part of the factorization
-