public class GaussJordanElimination extends Object
U.get(i, j) == 1
always returns true
.Constructor and Description |
---|
GaussJordanElimination(Matrix A)
Run the Gauss-Jordan elimination algorithm.
|
GaussJordanElimination(Matrix A,
boolean usePivoting,
double epsilon)
Run the Gauss-Jordan elimination algorithm.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
T()
Get the transformation matrix, T, such that T * A = U.
|
Matrix |
U()
Get the reduced row echelon form matrix, U, such that T * A = U.
|
public GaussJordanElimination(Matrix A, boolean usePivoting, double epsilon)
A
- a matrixusePivoting
- true
if partial pivoting is wanted, e.g., for numerical stabilityepsilon
- a precision parameter: when a number |x| ≤ ε, it is considered 0public GaussJordanElimination(Matrix A)
A
- a matrixCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.