org.jutil.math.matrix
Class PartialPivotGauss

java.lang.Object
  |
  +--org.jutil.math.matrix.PartialPivotGauss
All Implemented Interfaces:
LUDecomposer

public class PartialPivotGauss
extends java.lang.Object
implements LUDecomposer

A class of objects that compute the LU factorization of a square non-singular matrix using Gauss elimination with partial pivoting.


Field Summary
static java.lang.String CVS_REVISION
           
 
Constructor Summary
PartialPivotGauss()
           
 
Method Summary
 LUDecomposition decompose(Matrix matrix)
          See superclass The result is computed using Gauss elimination with partial pivoting.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CVS_REVISION

public static final java.lang.String CVS_REVISION
Constructor Detail

PartialPivotGauss

public PartialPivotGauss()
Method Detail

decompose

public LUDecomposition decompose(Matrix matrix)

See superclass

The result is computed using Gauss elimination with partial pivoting.

Specifications inherited from overridden method in interface LUDecomposer:
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();