Class RowEchelon
java.lang.Object
org.flag4j.linalg.RowEchelon
This class contains static methods for computing row echelon, reduced row echelon, and extended reduced row echelon
forms of a matrix.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CMatrixComputes the extended reduced row echelon form of a matrix.static MatrixComputes the extended reduced row echelon form of a matrix.static CMatrixComputes a row echelon form of a Matrix.static MatrixComputes a row echelon form of a Matrix.static CMatrixComputes the reduced row echelon form of a matrix.static MatrixComputes the reduced row echelon form of a matrix.
-
Method Details
-
ref
Computes a row echelon form of a Matrix. For a reduced row echelon form userref(Matrix).- Parameters:
A- The matrix for which to compute the row echelon form.- Returns:
- A matrix in row echelon form which is row-equivalent to the matrix
A.
-
ref
Computes a row echelon form of a Matrix. For a reduced row echelon form userref(CMatrix).- Parameters:
A- The matrix for which to compute the row echelon form.- Returns:
- A matrix in row echelon form which is row-equivalent to the matrix
A.
-
rref
Computes the reduced row echelon form of a matrix. For a non-reduced row echelon form seeref(Matrix). The reduced row echelon form is unique.- Parameters:
A- The matrix for which to compute the reduced row echelon form.- Returns:
- A matrix in reduced row echelon form which is row-equivalent to this matrix.
-
rref
Computes the reduced row echelon form of a matrix. For a non-reduced row echelon form seeref(CMatrix). The reduced row echelon form is unique.- Parameters:
A- The matrix for which to compute the reduced row echelon form.- Returns:
- A matrix in reduced row echelon form which is row-equivalent to this matrix.
-
erref
Computes the extended reduced row echelon form of a matrix. This is equivalent to{@link #rref(Matrix) rref(A.augment(Matrix.I(A.numRows())))}- Parameters:
A- Matrix for which to compute extended reduced row echelon form of.- Returns:
- A matrix in reduced row echelon form which is row-equivalent to this matrix augmented with the appropriately sized identity matrix.
-
erref
Computes the extended reduced row echelon form of a matrix. This is equivalent to{@link #rref(CMatrix) rref(A.augment(CMatrix.I(A.numRows())))}- Parameters:
A- Matrix for which to compute extended reduced row echelon form of.- Returns:
- A matrix in reduced row echelon form which is row-equivalent to this matrix augmented with the appropriately sized identity matrix.
-