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.
CVS_REVISION
public static final java.lang.String CVS_REVISION
decompose
public abstract LUDecomposition decompose(Matrix matrix)
Return an LU factorization of this matrix.
- Parameters:
matrix - The matrix to decompose.
- Specifications:
-
public behavior
requires matrix != null;
requires matrix.isSquare();
ensures \result != null;
ensures (* \result.L().times(\result.U()).equals(matrix) *);
ensures \result .L().getNbRows() == matrix.getNbRows();