Package org.ejml.dense.row.misc
Class RrefGaussJordanRowPivot_DDRM
java.lang.Object
org.ejml.dense.row.misc.RrefGaussJordanRowPivot_DDRM
- All Implemented Interfaces:
org.ejml.interfaces.linsol.ReducedRowEchelonForm<org.ejml.data.DMatrixRMaj>,org.ejml.interfaces.linsol.ReducedRowEchelonForm_F64<org.ejml.data.DMatrixRMaj>
public class RrefGaussJordanRowPivot_DDRM
extends java.lang.Object
implements org.ejml.interfaces.linsol.ReducedRowEchelonForm_F64<org.ejml.data.DMatrixRMaj>
Reduction to RREF using Gauss-Jordan elimination with row (partial) pivots.
-
Constructor Summary
Constructors Constructor Description RrefGaussJordanRowPivot_DDRM() -
Method Summary
Modifier and Type Method Description voidreduce(org.ejml.data.DMatrixRMaj A, int coefficientColumns)voidsetTolerance(double tol)protected static voidswapRows(org.ejml.data.DMatrixRMaj A, int rowA, int rowB)
-
Constructor Details
-
RrefGaussJordanRowPivot_DDRM
public RrefGaussJordanRowPivot_DDRM()
-
-
Method Details
-
setTolerance
public void setTolerance(double tol)- Specified by:
setTolerancein interfaceorg.ejml.interfaces.linsol.ReducedRowEchelonForm_F64<org.ejml.data.DMatrixRMaj>
-
reduce
public void reduce(org.ejml.data.DMatrixRMaj A, int coefficientColumns)- Specified by:
reducein interfaceorg.ejml.interfaces.linsol.ReducedRowEchelonForm<org.ejml.data.DMatrixRMaj>
-
swapRows
protected static void swapRows(org.ejml.data.DMatrixRMaj A, int rowA, int rowB)
-