org.jutil.math.matrix
Interface LUDecomposer

All Known Implementing Classes:
PartialPivotGauss

public interface LUDecomposer

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

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

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

pre matrix != null;
pre matrix.isSquare();

post \result != null;
post (* \result.L().times(\result.U()).equals(matrix) *);
post \result.L().getNbRows() == matrix.getNbRows();
 

Field Detail

CVS_REVISION

public static final java.lang.String CVS_REVISION
Method Detail

decompose

public LUDecomposition decompose(Matrix matrix)
public behavior

pre matrix != null;
pre matrix.isSquare();

post \result != null;
post (* \result.L().times(\result.U()).equals(matrix) *);
post \result.L().getNbRows() == matrix.getNbRows();

Return an LU factorization of this matrix.

Parameters:
matrix - The matrix to decompose.