org.matheclipse.commons.math.linear
Class FieldReducedRowEchelonForm<T extends FieldElement<T>>
- java.lang.Object
-
- org.matheclipse.commons.math.linear.FieldReducedRowEchelonForm<T>
-
public class FieldReducedRowEchelonForm<T extends FieldElement<T>> extends java.lang.ObjectMatrix class that wraps aFieldMatrix<T>matrix, which is transformed to reduced row echelon format. See: Wikipedia - Row echelon form. The code was adapted from: Rosetta Code - Reduced row echelon form
-
-
Constructor Summary
Constructors Constructor and Description FieldReducedRowEchelonForm(FieldMatrix<T> matrix)Constructor which creates row reduced echelon matrix from the givenFieldMatrix<T>matrix.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetMatrixRank()Get the rank of the row reduced matrix.FieldMatrix<T>getNullSpace(T minusOneFactor)Get the nullspace of the row reduced matrix.FieldMatrix<T>getRowReducedMatrix()Get the row reduced echelon form of the matrix.
-
-
-
Constructor Detail
-
FieldReducedRowEchelonForm
public FieldReducedRowEchelonForm(FieldMatrix<T> matrix)
Constructor which creates row reduced echelon matrix from the givenFieldMatrix<T>matrix.- Parameters:
matrix- matrix which will be transformed to a row reduced echelon matrix.- See Also:
rowReduce()
-
-
Method Detail
-
getRowReducedMatrix
public FieldMatrix<T> getRowReducedMatrix()
Get the row reduced echelon form of the matrix. See: Wikipedia - Row echelon form.- Returns:
-
getNullSpace
public FieldMatrix<T> getNullSpace(T minusOneFactor)
Get the nullspace of the row reduced matrix. See: Wikipedia - Kernel (linear algebra). Wikibooks - Null Spaces.- Parameters:
minusOneFactor- factor-1for multiplying all elements of the free part of the reduced row echelon form matrix- Returns:
-
getMatrixRank
public int getMatrixRank()
Get the rank of the row reduced matrix. See: Wikipedia - Rank (linear algebra).- Returns:
- the rank of the matrix.
-
-
DMelt 3.0 © DataMelt by jWork.ORG