org.ejml.interfaces.linsol
Interface ReducedRowEchelonForm<T extends RealMatrix64F>
-
- All Known Implementing Classes:
- RrefGaussJordanRowPivot
public interface ReducedRowEchelonForm<T extends RealMatrix64F>An augmented system matrix is said to be in reduced row echelon form (RREF) if the following are true:
- If a row has non-zero entries, then the first non-zero entry is 1. This is known as the leading one.
- If a column contains a leading one then all other entries in that column are zero.
- 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidreduce(T A, int coefficientColumns)Puts the augmented matrix into RREF.voidsetTolerance(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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG