org.jutil.math.matrix
Interface QRDecomposer

All Known Implementing Classes:
HouseholderQRDecomposer

public interface QRDecomposer

A class of objects that compute the QR factorization of a matrix.

Version:
$Revision: 1.3 $
Author:
Marko van Dooren

Field Summary
static java.lang.String CVS_REVISION
           
 
Method Summary
 QRDecomposition decompose(Matrix matrix)
          public behavior

pre matrix != null;
pre matrix.getNbRows() >= matrix.getNbColumns();

post \result != null;
post (* \result.Q().times(\result.R()).equals(matrix) *);
post \result.R().getNbRows() == matrix.getNbRows();
post \result.R().getNbColumns() == matrix.getNbColumns();
 

Field Detail

CVS_REVISION

public static final java.lang.String CVS_REVISION
Method Detail

decompose

public QRDecomposition decompose(Matrix matrix)
public behavior

pre matrix != null;
pre matrix.getNbRows() >= matrix.getNbColumns();

post \result != null;
post (* \result.Q().times(\result.R()).equals(matrix) *);
post \result.R().getNbRows() == matrix.getNbRows();
post \result.R().getNbColumns() == matrix.getNbColumns();

Return a QR factorization of this matrix.

Parameters:
matrix - The matrix to decompose.