org.ejml.alg.dense.misc
Class RrefGaussJordanRowPivot
- java.lang.Object
-
- org.ejml.alg.dense.misc.RrefGaussJordanRowPivot
-
- All Implemented Interfaces:
- ReducedRowEchelonForm<DenseMatrix64F>
public class RrefGaussJordanRowPivot extends java.lang.Object implements ReducedRowEchelonForm<DenseMatrix64F>
Reduction to RREF using Gauss-Jordan elimination with row (partial) pivots.
-
-
Constructor Summary
Constructors Constructor and Description RrefGaussJordanRowPivot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidreduce(DenseMatrix64F 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
-
setTolerance
public void setTolerance(double tol)
Description copied from interface:ReducedRowEchelonFormSpecifies tolerance for determining if the system is singular and it should stop processing. A reasonable value is: tol = EPS/max(||tol||).- Specified by:
setTolerancein interfaceReducedRowEchelonForm<DenseMatrix64F>- Parameters:
tol- Tolerance for singular matrix. A reasonable value is: tol = EPS/max(||tol||). Or just set to zero.
-
reduce
public void reduce(DenseMatrix64F A, int coefficientColumns)
Description copied from interface:ReducedRowEchelonFormPuts the augmented matrix into RREF. The coefficient matrix is stored in columns less than coefficientColumns.- Specified by:
reducein interfaceReducedRowEchelonForm<DenseMatrix64F>- Parameters:
A- Input: Augmented matrix. Output: RREF. Modified.coefficientColumns- Number of coefficients in the system matrix.
-
-
DMelt 3.0 © DataMelt by jWork.ORG