org.jutil.math.matrix
Interface LUDecomposition

All Known Implementing Classes:
DefaultLUDecomposition

public interface LUDecomposition

This class represents an LU factorization of a matrix.

P*A = L*U

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

Field Summary
static java.lang.String CVS_REVISION
           
 
Method Summary
 Matrix L()
          private invariant L().sameDimensions(U());
private invariant P().sameDimensions(U());

public behavior

post \result != null;
post \result.isSquare();
post \result.isLowerTriangular();
post (\forall int i; i>=1 && i<=\result.getNbColumns();
elementAt(i,i) == 1);
Return the L matrix of this LU factorization.
 Matrix P()
          public behavior

post \result != null;
post \result.isPermutationMatrix();
Return the P matrix of this LU factorization.
 Matrix U()
          public behavior

post \result != null;
post \result.isSquare();
post \result.isUpperTriangular();
Return the U matrix of this LU factorization.
 

Field Detail

CVS_REVISION

public static final java.lang.String CVS_REVISION
Method Detail

L

public Matrix L()
private invariant L().sameDimensions(U());
private invariant P().sameDimensions(U());

public behavior

post \result != null;
post \result.isSquare();
post \result.isLowerTriangular();
post (\forall int i; i>=1 && i<=\result.getNbColumns();
elementAt(i,i) == 1);
Return the L matrix of this LU factorization.

U

public Matrix U()
public behavior

post \result != null;
post \result.isSquare();
post \result.isUpperTriangular();
Return the U matrix of this LU factorization.

P

public Matrix P()
public behavior

post \result != null;
post \result.isPermutationMatrix();
Return the P matrix of this LU factorization.