no.uib.cipr.matrix
Class QL

java.lang.Object
  extended by no.uib.cipr.matrix.QL

public class QL
extends java.lang.Object

Computes QL decompositions


Constructor Summary
QL(int m, int n)
          Constructs an empty QL decomposition
 
Method Summary
 QL factor(DenseMatrix A)
          Computes an orthogonal decomposition
static QL factorize(Matrix A)
          Convenience method to compute a QL decomposition
 LowerTriangDenseMatrix getL()
          Returns the lower triangular factor
 DenseMatrix getQ()
          Returns the orthogonal part of the factorization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 columns
n - Number of columns
Method Detail

factorize

public static QL factorize(Matrix A)
Convenience method to compute a QL decomposition

Parameters:
A - Matrix to decompose. Not modified
Returns:
Newly allocated decomposition

factor

public QL factor(DenseMatrix A)
Computes an orthogonal decomposition

Parameters:
A - Matrix to decompose. Overwritten on exit. Pass a copy to avoid this
Returns:
The current decomposition

getL

public LowerTriangDenseMatrix getL()
Returns the lower triangular factor


getQ

public DenseMatrix getQ()
Returns the orthogonal part of the factorization