Package org.flag4j.linalg
Class RowEchelon
java.lang.Object
org.flag4j.linalg.RowEchelon
This class contains several methods for computing row echelon, reduced row echelon, and extended reduced row echelon
forms of a matrix.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CMatrix
Computes the extended reduced row echelon form of a matrix.static Matrix
Computes the extended reduced row echelon form of a matrix.static CMatrix
Computes a row echelon form of a Matrix.static Matrix
Computes a row echelon form of a Matrix.static CMatrix
Computes the reduced row echelon form of a matrix.static Matrix
Computes the reduced row echelon form of a matrix.
-
Constructor Details
-
RowEchelon
public RowEchelon()
-
-
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 torref(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 torref(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.
-