Package org.ejml.dense.row.misc
Class RrefGaussJordanRowPivot_FDRM
java.lang.Object
org.ejml.dense.row.misc.RrefGaussJordanRowPivot_FDRM
- All Implemented Interfaces:
ReducedRowEchelonForm<FMatrixRMaj>,ReducedRowEchelonForm_F32<FMatrixRMaj>
@Generated("org.ejml.dense.row.misc.RrefGaussJordanRowPivot_DDRM")
public class RrefGaussJordanRowPivot_FDRM
extends Object
implements ReducedRowEchelonForm_F32<FMatrixRMaj>
Reduction to RREF using Gauss-Jordan elimination with row (partial) pivots.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreduce(FMatrixRMaj A, int coefficientColumns) Puts the augmented matrix into RREF.voidsetTolerance(float tol) Specifies tolerance for determining if the system is singular and it should stop processing.protected static voidswapRows(FMatrixRMaj A, int rowA, int rowB)
-
Constructor Details
-
RrefGaussJordanRowPivot_FDRM
public RrefGaussJordanRowPivot_FDRM()
-
-
Method Details
-
setTolerance
public void setTolerance(float tol) Description copied from interface:ReducedRowEchelonForm_F32Specifies 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_F32<FMatrixRMaj>- Parameters:
tol- Tolerance for singular matrix. A reasonable value is: tol = EPS/max(||tol||). Or just set to zero.
-
reduce
Description copied from interface:ReducedRowEchelonFormPuts the augmented matrix into RREF. The coefficient matrix is stored in columns less than coefficientColumns.- Specified by:
reducein interfaceReducedRowEchelonForm<FMatrixRMaj>- Parameters:
A- Input: Augmented matrix. Output: RREF. Modified.coefficientColumns- Number of coefficients in the system matrix.
-
swapRows
-