org.ejml.factory
Interface ReducedRowEchelonForm<T extends DenseMatrix64F>

All Known Implementing Classes:
RrefGaussJordanRowPivot

public interface ReducedRowEchelonForm<T extends DenseMatrix64F>

An augmented system matrix is said to be in reduced row echelon form (RREF) if the following are true:

  1. If a row has non-zero entries, then the first non-zero entry is 1. This is known as the leading one.
  2. If a column contains a leading one then all other entries in that column are zero.
  3. If a row contains a leading 1, then each row above contains a leading 1 further to the left.

[1] Page 19 in, Otter Bretscherm "Linear Algebra with Applications" Prentice-Hall Inc, 1997

Author:
Peter Abeles

Method Summary
 void reduce(T A, int coefficientColumns)
          Puts the augmented matrix into RREF.
 void setTolerance(double tol)
          Specifies tolerance for determining if the system is singular and it should stop processing.
 

Method Detail

reduce

void reduce(T A,
            int coefficientColumns)
Puts the augmented matrix into RREF. The coefficient matrix is stored in columns less than coefficientColumns.

Parameters:
A - Input: Augmented matrix. Output: RREF. Modified.
coefficientColumns - Number of coefficients in the system matrix.

setTolerance

void setTolerance(double tol)
Specifies tolerance for determining if the system is singular and it should stop processing. A reasonable value is: tol = EPS/max(||tol||).

Parameters:
tol - Tolerance for singular matrix. A reasonable value is: tol = EPS/max(||tol||). Or just set to zero.


Copyright © 2012. All Rights Reserved.