public class Inverse_Square_Matrix
extends java.lang.Object
This class implements LU decomposition and returns the Inverse of a matrix by solving the equations PX=Y where Y is the identity of the P matrix. This class returns generally all the elements of the LY decomposition and it is primarily based on the Apache Commons math 3.0 Linear Package package.
This class is strictly to be used for this-library-purposes and may not be used as a proxy for matrices and generally matrix's functions.
I redirect anyone interested in Matrices and matrices' decompositions to get Apache Commons Math from http://commons.apache.org/proper/commons-math/ or to try the JAMA package from here : http://math.nist.gov/javanumerics/jama/ t you to
| Constructor and Description |
|---|
Inverse_Square_Matrix() |
| Modifier and Type | Method and Description |
|---|---|
double[][] |
performLU(double[][] matrix)
This method performs LU decomposition which is fundamental for the
calculation of the inverse of a square matrix.
|
TwoDmatrix |
performLUmatrix(double[][] matrix) |
TwoDmatrix |
performLUmatrix(TwoDmatrix matrixs) |
public double[][] performLU(double[][] matrix)
This method performs LU decomposition which is fundamental for the calculation of the inverse of a square matrix. Because in the underlying algorithms in this package we are only interested in decompositions of the same Columns and rows, there will be a restriction towards this. This is NOT a matrix package, this is simply to aid the algorithms' execution.
public TwoDmatrix performLUmatrix(TwoDmatrix matrixs)
public TwoDmatrix performLUmatrix(double[][] matrix)