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
 
| Method Summary | 
| abstract  Matrix | L()Return the L matrix of this LU factorization.
 | 
| abstract  Matrix | P()Return the P matrix of this LU factorization.
 | 
| abstract  Matrix | U()Return the U matrix of this LU factorization.
 | 
 
CVS_REVISION
public static final java.lang.String CVS_REVISION
L
public abstract Matrix L()
- Return the L matrix of this LU factorization.
- 
- Specifications:
- 
 public behavior
 ensures \result  != null;
 ensures \result .isSquare();
 ensures \result .isLowerTriangular();
 ensures ( \forall int i; i >= 1&&i <= \result .getNbColumns(); \result .elementAt(i,i) == 1);
 
 
U
public abstract Matrix U()
- Return the U matrix of this LU factorization.
- 
- Specifications:
- 
 public behavior
 ensures \result  != null;
 ensures \result .isSquare();
 ensures \result .isUpperTriangular();
 
 
P
public abstract Matrix P()
- Return the P matrix of this LU factorization.
- 
- Specifications:
- 
 public behavior
 ensures \result  != null;
 ensures \result .isPermutationMatrix();